P
Peter Billingsworth
I require some information on how WinXP determines where "My
Documents" exists. I'm writing a simple batch file that creates a
file and I want to save it in the "My Documents" folder. I'm having
difficulty doing this on my computer, where I have moved "My
Documents" from it's default location.
Based on my quick internet and Windows search, there is no environment
variable for "My Documents". I have found that I can use
%UserProfie%\My Documents IF that folder hasn't been changed from it's
default location. In my case, I have changed the "default" location
of "My Documents" to my D:\ drive. Obviously, I can use D:\ instead
of an environment variable for my situation, but if someone else has
changed it to a different location, using D:\ in my batch file would
be useless. There must be someway that the system can find "My
Documents" for the current user through an environment variable or
other setting.
Any assistance would be appreciated.
TIA
Documents" exists. I'm writing a simple batch file that creates a
file and I want to save it in the "My Documents" folder. I'm having
difficulty doing this on my computer, where I have moved "My
Documents" from it's default location.
Based on my quick internet and Windows search, there is no environment
variable for "My Documents". I have found that I can use
%UserProfie%\My Documents IF that folder hasn't been changed from it's
default location. In my case, I have changed the "default" location
of "My Documents" to my D:\ drive. Obviously, I can use D:\ instead
of an environment variable for my situation, but if someone else has
changed it to a different location, using D:\ in my batch file would
be useless. There must be someway that the system can find "My
Documents" for the current user through an environment variable or
other setting.
Any assistance would be appreciated.
TIA