Jump to content
Sign in to follow this  
DaProgrammer

Backup on plugin (removable storage)

Recommended Posts

DaProgrammer

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.


Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×