C
Colleen M
Perhaps someone can tell me the best place to post this question.
I have a batch (.bat) file in a winzip executable file that installs Word
templates including a Startup file into the appropriate folders. In a new
Vista 64 PC the startup file doesn't get installed properly because there is
no "Documents and Settings" shortcut and I'm hoping that I can maintain a
single install .exe for XP/Vista/Vista 64. The code in question is:
Copy "c:\Templates\WordStartup.dot" "c:\documents and
settings\%USERNAME%\Application Data\Microsoft\Word\StartUp\WordStartup.dot"
Is there some kind of %????% property I can use in the batch file to pick up
the "documents and settings" part of this code? Or ????
I have a batch (.bat) file in a winzip executable file that installs Word
templates including a Startup file into the appropriate folders. In a new
Vista 64 PC the startup file doesn't get installed properly because there is
no "Documents and Settings" shortcut and I'm hoping that I can maintain a
single install .exe for XP/Vista/Vista 64. The code in question is:
Copy "c:\Templates\WordStartup.dot" "c:\documents and
settings\%USERNAME%\Application Data\Microsoft\Word\StartUp\WordStartup.dot"
Is there some kind of %????% property I can use in the batch file to pick up
the "documents and settings" part of this code? Or ????