I need to copy new template files (*.dot) to the template directory where Word stores the templates, c:\users\%username%\AppData\Roaming\Microsoft\templates.
I create a batch file that does an xcopy buy the xcopy hangs when I try to copy to the directory above.
Here is my batch file:
cmd /c xcopy \\servername\sharename\Templates\word\*.dot c:\users\%username%\AppData\Roaming\Microsoft\templates /h /y
exit /B /0
I created a Batch file distribution task and set it to run using the current user account but the xcopy hangs. I can see it just sitting in Task Manager.
If I change the destination to just c:\temp the batch works.
I am using a Standard Push delivery with Use Download from Source selected. I see all the files get pushed to sdmcache.
I am pushing to Windows 7 devices and I'm running Landesk 9.0 SP2.