I have created a txt file called SYNC.TXT that looks like:
load C:\Users\XXX\AppData\Roaming\Mozilla D:\UTILITIES\WINDOWSMGMT\BKUP\Mozilla
sync create-empty mirror:left->right
I have created a BAT called SYNC.BAT that looks like:
"C:\Program Files\Beyond Compare 4\BCompare.exe" @D:\UTILITIES\WINDOWSMGMT\SOFTWARE\BATCH\SYNCH.TXT
I cannot get the BAT file to work when I run it as an Administrator.
However, if I open an Administrator command prompt and run "C:\Program Files\Beyond Compare 4\BCompare.exe" @D:\UTILITIES\WINDOWSMGMT\SOFTWARE\BATCH\SYNCH.TXT
I have no problems.
What I want to do is assign the BAT file using the Group Policy Editor to Computer Configuration ==> Windows Settings ==> Scripts ==> Shutdown so that it will run and sync the Mozilla directory on the āCā drive with a folder on the āDā drive when I shut down my computer.
What am I doing wrong?
Thanks.
load C:\Users\XXX\AppData\Roaming\Mozilla D:\UTILITIES\WINDOWSMGMT\BKUP\Mozilla
sync create-empty mirror:left->right
I have created a BAT called SYNC.BAT that looks like:
"C:\Program Files\Beyond Compare 4\BCompare.exe" @D:\UTILITIES\WINDOWSMGMT\SOFTWARE\BATCH\SYNCH.TXT
I cannot get the BAT file to work when I run it as an Administrator.
However, if I open an Administrator command prompt and run "C:\Program Files\Beyond Compare 4\BCompare.exe" @D:\UTILITIES\WINDOWSMGMT\SOFTWARE\BATCH\SYNCH.TXT
I have no problems.
What I want to do is assign the BAT file using the Group Policy Editor to Computer Configuration ==> Windows Settings ==> Scripts ==> Shutdown so that it will run and sync the Mozilla directory on the āCā drive with a folder on the āDā drive when I shut down my computer.
What am I doing wrong?
Thanks.
Comment