ITPro Today logo
DevOpsUse Modifiers to Expand or Shorten a Script's Name on the FlyUse Modifiers to Expand or Shorten a Script's Name on the Fly
In Windows shell scripts, you can use %0 to obtain the name of the script being executed. By using modifiers, you can easily obtain a variation of that name, such as the fully qualified path name or just the file extension.
byReaders
Sign up for the ITPro Today newsletter
Stay on top of the IT universe with commentary, news analysis, how-to's, and tips delivered to your inbox daily.