Making command prompt automatically copy files

Status
This thread has been Locked and is not open to further replies. Please start a New Thread if you're having a similar issue. View our Welcome Guide to learn how to use this site.

helgso

Thread Starter
Joined
Aug 17, 2009
Messages
24
This is the situation. I'm interested in programming and I have a "problem" I'd like to solve programically. I have two computers, one I use to work on and other to print and store files. Therefore, I have to transfer files I work on over to the printing/storage PC to be able to either print or store. I want to be able to: Insert my usb drive into the printing/storage PC and automatically the computer, or command prompt, will start copying the files off the usb drive to a certain location. Can I create a command prompt program that acts in the following sequence:

The command prompt program is run.
It awaits usb drive input.
If an usb drive is inserted, cmd copies all of it's files to C:\files

How is this possible?
 

Squashman

Trusted Advisor
Joined
Apr 4, 2003
Messages
19,786
If the two computers are on the same network I would just use software that keeps them in sync over the network.

Even with the USB stick you could use a program that keeps the USB synced on each computer. I had my Mom setup a few years ago to use Microsofts SyncToy to synchronize a USB stick with her home computer and her computer at work.
 

helgso

Thread Starter
Joined
Aug 17, 2009
Messages
24
But do you know if it is possible to use command prompt to do this? I am very curious
 
Status
This thread has been Locked and is not open to further replies. Please start a New Thread if you're having a similar issue. View our Welcome Guide to learn how to use this site.

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 807,865 other people just like you!

Latest posts

Staff online

Top