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.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.