→ Celebrate SysAdmin Day 2024 with Lansweeper Enter our Giveaway here

Showing results for 
Show  only  | Search instead for 
Did you mean: 
Engaged Sweeper
Hi All,

I have a deployment script which is already copying files to all machines using XCOPY.exe. This works no problem.

I now need to install a simple global.dotm template word file inside the following path on all laptops:


But when i try %appdata% the script just fails. If i try to be clever and use c:\users\%username%\appdata.... etc it also fails.

As mentioned i have used xcopy to successfully copy files but it is almost like lansweeper doesnt like %...% as that isnt an actual UNC path or something?

I desperately need to get my full deployment script working ready for UAT on Monday, and we have a "go or no-go" meeting on Friday afternoon. I would therefore really appreciate some guidance and coaching on this!

many thanks, Roy