Computing.Net > Forums > Disk Operating System > Copy

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

Reply to Message Icon

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



Sponsored Link
Ads by Google

Response Number 1
Name: Tom
Date: September 12, 2002 at 18:29:00 Pacific
Reply:

You just answered your own question.

COPY C:/Windows/System/file.exe C:/Folder


0

Response Number 2
Name: Dan Penny
Date: September 12, 2002 at 20:43:41 Pacific
Reply:

C:\WINDOWS>copy/?
Copies one or more files to another location.

COPY [/A | /B] source [/A | /B] [+ source [/A | /B] [+ ...]] [destination
[/A | /B]] [/V] [/Y | /-Y]

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:

COPY C:\Windows\System\file.exe C:\Folder


0

Related Posts

See More



Response Number 6
Name: Doug Price
Date: September 24, 2002 at 13:09:59 Pacific
Reply:

How do i check for existence of the file before i copy it?


0

Response Number 7
Name: Mike Newcomb
Date: September 24, 2002 at 14:00:55 Pacific
Reply:

checkout the DIR command using help
? for any character
* for all trailing characters or complete field

/s for searching all directories


0

Sponsored Link
Ads by Google
Reply to Message Icon

where can i download dos ... boot dos from usb-floppy



Post Locked

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


Go to Disk Operating System Forum Home


Sponsored links

Ads by Google


Results for: Copy

COPY file to multiple directories www.computing.net/answers/dos/copy-file-to-multiple-directories/14518.html

Need a copy of ll3.exe www.computing.net/answers/dos/need-a-copy-of-ll3exe/5509.html

copy files www.computing.net/answers/dos/copy-files-/10684.html