btw, i do know a loop like this:
FOR /F "tokens=1" %%A IN (C:\sourcedata.txt) DO (copy %%A "\\backup\folder" )
but the source are multiple maps on different locations and i dont know how to do a loop when the source exists of multi different places
Search found 2 matches
- 17 Jun 2008 05:24
- Forum: DOS Batch Forum
- Topic: copy script that gets sources and destination from textfile
- Replies: 1
- Views: 6185
- 17 Jun 2008 03:59
- Forum: DOS Batch Forum
- Topic: copy script that gets sources and destination from textfile
- Replies: 1
- Views: 6185
copy script that gets sources and destination from textfile
i am not good in scripting but that doesnt mean that i dont wanne try batch.i need to copy data from 40 different users to a different place. i think the best way is importing the sources and destination from a textfile but i dont kno how. can some1 advice me or give me the code for doing that? the ...