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.
Copy
Name: System Date: September 12, 2002 at 17:39:05 Pacific OS: Win 98 CPU/Ram: 256 meg
Comment:
How do i copy files in dos?..like copy C:/Windows/System/file.exe to C:/Folder/ Thanks
source Specifies the file or files to be copied. /A Indicates an ASCII text file. /B Indicates a binary file. destination Specifies the directory and/or filename for the new file(s). /V Verifies that new files are written correctly. /Y Suppresses prompting to confirm you want to overwrite an existing destination file. /-Y Causes prompting to confirm you want to overwrite an existing destination file.
The switch /Y may be preset in the COPYCMD environment variable. This may be overridden with /-Y on the command line
To append files, specify a single file for destination, but multiple files for source (using wildcards or file1+file2+file3 format).
0
Response Number 3
Name: Mike Newcomb Date: September 12, 2002 at 21:28:42 Pacific
Reply:
Use the dos help system to check out both the COPY and XCOPY commands.
I normally use the /V option.
Good luck - keep us posted
0
Response Number 4
Name: Fred6008 Date: September 17, 2002 at 03:33:49 Pacific
Reply:
Tom above forgot after typing this at a DOS prompt you press enter. Dan Penny must not have thought you were being serious talking like a Microsoft explanation as he did.
0
Response Number 5
Name: dermot Date: September 18, 2002 at 13:43:11 Pacific
Reply:
Tom above also put in forward slashes instead of back slashes. Try:
Summary: I would like some help with coding a batch file to copy one file to multiple directories. These directories are all sub directories within a main folder...: XML\14_01_2004 XML\15_01_2004 XML\21_01_200...