DaProgrammer Posted October 26, 2007 Share Posted October 26, 2007 While 1 If FileExists("i:\SyncDownloads.robo") Then Sleep(30000) ShellExecuteWait("i:\Robocopy.exe", '"D:\My Documents\Downloads" "i:\Downloads" /mir /zb /it /log+:i:\log.txt') While FileExists("i:\SyncDownloads.robo") Sleep(30000) WEnd EndIf Sleep(30000) WEnd i know it ain't a big deal but some ppl might not know this so here: a little script that will backup a dir for you using robocopy (search in forums for file) when u connect your removable storage. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now