Jump to content

Backup on plugin (removable storage)


DaProgrammer
 Share

Recommended Posts

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

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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...