+ Post New Thread
Results 1 to 10 of 10
Scripts Thread, Backup PenDrive Script in Coding and Web Development; I use the following code on pendrives to backup their contents to the WinXP machine they are connected to Code: ...
  1. #1

    SimpleSi's Avatar
    Join Date
    Jun 2005
    Location
    Lancashire
    Posts
    5,808
    Thank Post
    1,476
    Thanked 592 Times in 444 Posts
    Rep Power
    168

    Backup PenDrive Script

    I use the following code on pendrives to backup their contents to the WinXP machine they are connected to
    Code:
    xcopy %CD%\*.* "%HOMEDRIVE%%HOMEPATH%\My Documents\PenDriveBackup" /c /d /e /h /i /k /y
    @echo .
    @echo .
    @echo .
    @echo .
    @echo .
    @echo .
    @echo Backup Finished
    
    pause
    (The above just sits in BackupPendrive.bat and all you have to do is double-click on it to use it)

    This works well with those teachers who use it but I was wondering if anyone has something better that could maybe work the other way - e.g. runs on the computer and detects PenDriveInsertion and asks to backup files (or just does it).

    Any ideas?

    regards

    Simon

  2. #2
    ajbritton's Avatar
    Join Date
    Jul 2005
    Location
    Wandsworth
    Posts
    1,632
    Thank Post
    23
    Thanked 75 Times in 45 Posts
    Rep Power
    34

    Re: Backup PenDrive Script

    Is this any use?

  3. #3

    SimpleSi's Avatar
    Join Date
    Jun 2005
    Location
    Lancashire
    Posts
    5,808
    Thank Post
    1,476
    Thanked 592 Times in 444 Posts
    Rep Power
    168

    Re: Backup PenDrive Script

    Thanks for for link.

    The blurbs a bit sparse on what it actually does

    Have you used it ?

    regards

    Simon

  4. #4
    ajbritton's Avatar
    Join Date
    Jul 2005
    Location
    Wandsworth
    Posts
    1,632
    Thank Post
    23
    Thanked 75 Times in 45 Posts
    Rep Power
    34

    Re: Backup PenDrive Script

    You might also want to look at PortableApps.com. It's quite neat and includes a backup option.

  5. #5
    projector1's Avatar
    Join Date
    Nov 2005
    Posts
    460
    Thank Post
    70
    Thanked 1 Time in 1 Post
    Rep Power
    18

    Re: Backup PenDrive Script

    marvelous!
    i was asked today to set this up thursday and bingo the instructions are here without having to ask

  6. #6
    tosca925's Avatar
    Join Date
    Aug 2005
    Location
    Midlands
    Posts
    1,547
    Thank Post
    4
    Thanked 4 Times in 4 Posts
    Rep Power
    22

    Re: Backup PenDrive Script

    This is just what i have been looking for.

  7. #7

    SimpleSi's Avatar
    Join Date
    Jun 2005
    Location
    Lancashire
    Posts
    5,808
    Thank Post
    1,476
    Thanked 592 Times in 444 Posts
    Rep Power
    168

    Re: Backup PenDrive Script

    @aj

    I know its early in the morning but I can't see a backup utility in portableapps ops:

    regards

    Simon

  8. #8
    Guest

    Re: Backup PenDrive Script

    How about setting autorun on the pen drive to run the script?

  9. #9

    SimpleSi's Avatar
    Join Date
    Jun 2005
    Location
    Lancashire
    Posts
    5,808
    Thank Post
    1,476
    Thanked 592 Times in 444 Posts
    Rep Power
    168

    Re: Backup PenDrive Script

    set autorun on drive
    Isn't autorun a computer property and not a pendrive one

    Maybe someone could script something that would change the computer settings to make it autorun next time?

    regards

    Simon

  10. #10
    ajbritton's Avatar
    Join Date
    Jul 2005
    Location
    Wandsworth
    Posts
    1,632
    Thank Post
    23
    Thanked 75 Times in 45 Posts
    Rep Power
    34

    Re: Backup PenDrive Script

    Quote Originally Posted by SimpleSi
    @aj

    I know its early in the morning but I can't see a backup utility in portableapps ops:

    regards

    Simon
    Si,

    Download and install at least the 'base edition', to the root of a USB drive.

    Re-insert the drive. If it does not 'autorun', then open the drive and double click 'StartPortableApps.exe'

    The backup utility is on the PortableApps menu which should now appear in the system tray.

    Autorun is a computer property.

SHARE:
+ Post New Thread

Similar Threads

  1. SIMs backup script after SQL 2005 migration failing...
    By mullet_man in forum MIS Systems
    Replies: 13
    Last Post: 23rd November 2007, 06:03 PM
  2. *nix Script needed for backup job
    By ICTNUT in forum *nix
    Replies: 2
    Last Post: 14th November 2007, 09:59 AM
  3. Replies: 9
    Last Post: 1st August 2006, 10:25 AM
  4. Backup Perl Script
    By ranj in forum Scripts
    Replies: 1
    Last Post: 30th April 2006, 08:02 PM
  5. Backup Script for NT backup and Robocopy
    By ChrisH in forum Scripts
    Replies: 12
    Last Post: 20th October 2005, 01:01 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •