I have the following script set up to run as a scheduled task. It says that it runs, but it doesn't do anything. If I just run the script, it runs fine and works properly.
I have checked all the permissions and everything is set correctly. The account that it is scheduled to run with is a Domain Admin account.
Any ideas as to why this won't work as a scheduled task?
Thanks,
Scott
Code:
SET ACTSourceFolder="D:\TestData"
SET ACTDestinationFolder="\\server\itsupport\ACT_Testbackup"
SET XcopyOptions=/E /C /H /O /Y /I
xcopy %ACTSourceFolder% %ACTDestinationFolder% %XcopyOptions%
I have checked all the permissions and everything is set correctly. The account that it is scheduled to run with is a Domain Admin account.
Any ideas as to why this won't work as a scheduled task?
Thanks,
Scott