copy a file to My Network Places/Dest PC using command line

2

2000 lover

is it possible to copy a file to My Network Places/Dest PC using command line.
if so then please write it for me.
 
P

Pegasus \(MVP\)

2000 lover said:
is it possible to copy a file to My Network Places/Dest PC using command
line.
if so then please write it for me.

Do you know the NetBIOS name of the destination PC?
Do you know the name of the share on that PC?
If so, what are they?
 
2

2000 lover

my mean is copy a file from sysop PC in coffee net to another PC that all of
them
are present in network places(such as Station1 or Station2 or...).
 
2

2000 lover

i'll check it out, just for now i want to know full syntax of command line,
thanks.
 
G

goarilla

2000 said:
i'll check it out, just for now i want to know full syntax of command line,
thanks.
you can map a drive (it'll appear as a local disk to you) by doing
net use <unused_drive_letter>: \\netbios_name\share
it doesn't have to be an unused_drive_letter but it's good
practice anyway
and then do your copying by using copy/xcopy,...
 
P

Pegasus \(MVP\)

goarilla said:
you can map a drive (it'll appear as a local disk to you) by doing
net use <unused_drive_letter>: \\netbios_name\share
it doesn't have to be an unused_drive_letter but it's good
practice anyway

You may want to review your claim. Here is what happens
when you attempt to use a drive letter that is in use:

E:\Technical\Tips>net use q: \\pegasus\d$
System error 85 has occurred.
The local device name is already in use.
 
G

goarilla

Pegasus said:
You may want to review your claim. Here is what happens
when you attempt to use a drive letter that is in use:

E:\Technical\Tips>net use q: \\pegasus\d$
System error 85 has occurred.
The local device name is already in use.

oh thank god :D

but you're right
for some reason i forgot that i always did a
net use used_drive_letter /DELETE

and well the practice is possible in Unix
(mounting devices on used mountpoints)

Oops 0_o.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top