Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Help with batch file

Status
Not open for further replies.

thejamtart

Technical User
Jan 24, 2004
1
0
0
GB
how do you write a batch file that copies all the file from C:\FINANCE and C:|DOCUMENT dir onto a floppy disk and then lists it contentsof the floppy disk
 
echo off
copy c:\finance\*.* a:copy c:\document\*.* a:dir a:
echo on

If you want the directory list as a file, change the last line to :

dir a: > myfile.txt

________________________________________________________________
If you want to get the best response to a question, please check out FAQ222-2244 first

'If we're supposed to work in Hex, why have we only got A fingers?'
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top