Saturday, July 12, 2008

DOS CMD Variable Editing

http://www.ss64.com/ntsyntax/varsearch.html

Can replace value of a variable at quote time.
E.g. if variable "mypath" is "C:\Temp\Test",
and I quote it using "%mypath:\=\\%",
then it comes out as "C:\\Temp\\Test".

0 Comments:

Post a Comment

<< Home