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
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
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.
Summary: I need to copy c:\ to another HD, but if I do it in windows 2000 I just get the message that some of the files is in use and it stops copying. When I try in dos It only copys one directory at a time. ...
Summary: Hey everyone, Could anyone tell me how I can delete a file, use that file name and copy it to another? This may be simple to alot of you, but this is the first time that I am writing batch scripts. ...
Summary: Hi, I have just purchased a laptop from a company that gets them in and deletes windows from thier PC's, the want $100 to install Win95, I have heard that you can copy files to the Laptop with DOS. I ...