I have this in a script that i want to use at startup, however if word/excel or whatever has not been opened then the folders do not exist.
The script works fine if word has already been opened but not if it hasnt. (It sets the normal.dotm with line spacing and fonts, word.qat sets the quick access tool bar)
@Echo OFF
xCOPY "\\192.168.10.101\NETLOGON\normal.dotm" "%APPDATA%\Microsoft\Templates\normal.dotm" /i /y
XCOPY "\\192.168.10.101\NETLOGON\Word.qat" "%userprofile%\Local Settings\Application Data\Microsoft\Office\Word.qat" /i /y
The script works fine if word has already been opened but not if it hasnt. (It sets the normal.dotm with line spacing and fonts, word.qat sets the quick access tool bar)
@Echo OFF
xCOPY "\\192.168.10.101\NETLOGON\normal.dotm" "%APPDATA%\Microsoft\Templates\normal.dotm" /i /y
XCOPY "\\192.168.10.101\NETLOGON\Word.qat" "%userprofile%\Local Settings\Application Data\Microsoft\Office\Word.qat" /i /y