Computing.Net > Forums > Programming > batch to copy files

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

batch to copy files

Reply to Message Icon

Name: ysottot
Date: May 12, 2006 at 16:11:40 Pacific
OS: XP
CPU/Ram: 1 Gb
Product: HP
Comment:

I have a text file of workstations that I want to copy files to. I'm trying to make a batch that will read the machine names from the text file, map a drive letter, copy the file, disconnect and move on the the next machine in the list.
I'm having a hard time with it seeing that I don't know much about batch files. I'm trying the FOR command but don't understand how it works.
Thanks



Sponsored Link
Ads by Google

Response Number 1
Name: Michael J (by mjdamato)
Date: May 12, 2006 at 21:35:56 Pacific
Reply:

What's the format of the textfile?

Michael J


0

Response Number 2
Name: ysottot
Date: May 15, 2006 at 10:07:58 Pacific
Reply:

Just a txt file with machine names like:

machine1
machine2
machine3



0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home


Sponsored links

Ads by Google


Results for: batch to copy files

Batch to copy files in a list www.computing.net/answers/programming/batch-to-copy-files-in-a-list/16692.html

Batch to search for flashdrive www.computing.net/answers/programming/batch-to-search-for-flashdrive/17379.html

Windows Batch + C++ to copy files? www.computing.net/answers/programming/windows-batch-c-to-copy-files/6254.html