Computing.Net > Forums > Disk Operating System > copy file to another pc with dos

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 file to another pc with dos

Reply to Message Icon

Name: bam
Date: February 20, 2003 at 13:26:18 Pacific
OS: xp
CPU/Ram: 2.0
Comment:

can anyone show me how to copy files from one workstation to another using dos. I already know how to do it with copy and paste. But I forgot how to do it in dos. Please use sample pc1 and pc2 thanx



Sponsored Link
Ads by Google

Response Number 1
Name: The Count
Date: February 21, 2003 at 12:19:48 Pacific
Reply:

On the destination pc (pc2) you need to make a mapping to the "host" pc (pc1) it's hard drive or shared folder. (Connect network drive)
When the mapping is made, from within Windows or DOS, on the destination pc (pc2) at the DOS prompt type in:
copy e:\folder\file c:\folder[Enter]key
or
copy e:\folder\*.* c:\folder[Enter]key.

The above is ofcourse assuming that e: is the driveletter to which the shared drive or folder on the host pc (pc1) is mapped.
Folder is the folder where the source file is located, file is ... and *.* is a wildcard to copy the entire contents of folder.
C:\Folder is the destination folder on the destination pc (pc2).

Hope this helps.

Greetz from The Netherlands,
The Count


0

Response Number 2
Name: eson21
Date: February 22, 2003 at 22:40:10 Pacific
Reply:

add this to ur batch file if u want to declare also to your PC2 the device driver name..

net use z: \\PC1\SHARED ******
copy z:\Tools\*.* c:\

PC1- source PC
Shared - shared folder of the source PC
Tools - source folder where the files u want to copy are located.
***** - password of the shared folder.

Gudlak..


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







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 file to another pc with dos

I need to copy c:\ to another HD... www.computing.net/answers/dos/i-need-to-copy-c-to-another-hd/4696.html

Copy one file to another www.computing.net/answers/dos/copy-one-file-to-another/5049.html

Installing Win95 to DOS 6 w/out floppies www.computing.net/answers/dos/installing-win95-to-dos-6-wout-floppies/616.html