Discussions
Categories
Groups
Advertisement
Child Item
Home
Topics
Technology & Internet
Computers & Technology
Computers & Technology
bat files??
EpiphoneSpecial
a ? about .bat files!!!
i want a .bat file that will copy the the location of other files from a .txt and then copy those files to say the a: drive.
the .txt will have 'C;\winnt\myfile1.txt'
'C;\winnt\myfile2.txt'
it reads the txt and then copies those two files to a different location that i specify.
cheers
Find more posts tagged with
Quick Links
All Categories
Recent Posts
Activity
Unanswered
Groups
Best Of
Advertisement
Advertisement
Comments
marauder
This works in XP...
FOR /F %%i IN (myfile.txt) DO copy %%i a:\
do a help for at the dos prompt for details The key with this is to use %% instead of % in batch files....