O
Ondrej Sevecek
How to get this directory by some generic statement from .BAT file?
Ondra.
Ondra.
How to get this directory by some generic statement from .BAT file?
set docset="%ALLUSERSPROFILE:\All Users=%"How to get this directory by some generic statement from .BAT file?
Ondra.
Ondrej said:How to get this directory by some generic statement from .BAT file?
Best print out the releevant parts of help and/orNice. Is there some documentation for this trick? Eg. from Microsoft, one
complex and exhaustive?
Nice. Is there some documentation for this trick? Eg. from Microsoft, one
complex and exhaustive?
Ondra.
For example, ...
pushd "%ALLUSERSPROFILE%\.."
pushd "%USERSPROFILE%\.."
These all takes you to the same location, but do not
require the environment variable. It's not as pretty, if
it's intended for display purposes. In such cases, use
the parsing technique.