[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 686
  • Last Modified:

Creating a script/batch file to backup my files to a USB

Can someone please help me out here.. i tried going through xcopy /? commands but am very confused.

I basically need to back up files and folders from a folder on my C:\ to my USB sticck which is the F:\.

i constantly work on my C:\ files and at the end of each day i want to run the script so it copys all the files which have been modified onto the USB stick. So basically, i need to know the command and switches which will copy all files and folder structure.. then after the first backup.. will copy over all the modified files and if a file was modified, it will replace the version on the USB stick..

I hope that is clear enough

Please help me out if you get a chance.

  • 3
1 Solution
synctoy by microsoft will do exactly what you want
Here is another program - Toucan -


Toucan is a small utility allowing you to synchronise, backup and secure your data with more options than the built in suite utilities. It is split up into 7 tabs, allowing you to easily find the function that you want. This version features:

    * Four synchronisation modes, copy, update, mirror and equalise.
    * Backup and restore in industry standard zip and 7-zip files, with support for complete backups, updating existing backups and incremental backups, as well as restoring files from an archive.
    * AES-256 encryption using ccrypt
    * Command line support, allows you to create a batch file for repeated jobs
    * Portable variables, point to places on you USB drive no matter what its drive letter is
tikelz10Author Commented:
Hi Thank you.. i download Synctoy and it is exactly what i needed. Worked perfect and very easy to understand.

As for the other membver who responded.. i am sorry but i did not try your software as jgiordano's suggestion was good enough. Thanks though

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now