New
#21
Wait I see what's happening!
It just shows on the taskbar...Excellent...:)
Thanks Golden...
Now How to get the scheduler to work.
I always get a (0x10) error code...
Last edited by Tarka Dal; 03 Feb 2012 at 13:51.
Wait I see what's happening!
It just shows on the taskbar...Excellent...:)
Thanks Golden...
Now How to get the scheduler to work.
I always get a (0x10) error code...
Last edited by Tarka Dal; 03 Feb 2012 at 13:51.
I'm not sure if it would solve the problem, but have you considered simplyfing and using SyncToy?
If you want it to run completely invisible, try this...
Create a VBScript file like "RunInv.vbs" with the following line:
Save that in your System32 directory and in your scheduled task call that file with robocopy arguments something like this:Code:CreateObject("Wscript.Shell").Run "" & WScript.Arguments(0) & "", 0, False
You need those quotes but I'm not exactly sure how to handle the quoted paths inside of it, whether it requires a double double quote or some sort of escape character. It might be a bit of trial and error from the command-line first.Code:RunInv.vbs "Robocopy C:\Users\User\Documents\Clive B:\Documents\Clive /NJS /MIR /E"
I pulled that from this site:
windows - Run a completly hidden batch file - Super User
Or you could try something like Hstart or cmdow that has command line options for running invisibly.
Last edited by Tarka Dal; 06 Feb 2012 at 10:49.
I have found that the creation of a shortcut is irrelevant to the Task Scheduler as it will fixate on the Batch file itself not the shortcut...