Remote Desktop - Referring to Local Drives in DOS Comand

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I want to use a DOS batch file to copy some files from a remote computer that
I am connecting to via Remote Desktop.

I select Options in the Remote Desktop connection and check Disk drives on
the Local Resources tab. The drives appear in Windows Explorer as 'C on
ConnectedPC' (where ConnectedPC is the name of the computer from where I am
using Remote Desktop,) but I cannot map this drive to a drive letter.

How do I refer to this drive and it's folders in a DOS copy command?
What I want to say is for example:
COPY c:\RemotePC-Folder\*.* 'C on ConnectedPC'\folder\

Thanks,
Dan
 
I want to use a DOS batch file to copy some files from a remote computer that
I am connecting to via Remote Desktop.

I select Options in the Remote Desktop connection and check Disk drives on
the Local Resources tab. The drives appear in Windows Explorer as 'C on
ConnectedPC' (where ConnectedPC is the name of the computer from where I am
using Remote Desktop,) but I cannot map this drive to a drive letter.

How do I refer to this drive and it's folders in a DOS copy command?
What I want to say is for example:
COPY c:\RemotePC-Folder\*.* 'C on ConnectedPC'\folder\

Thanks,
Dan
did you try
[\\computername\sharename[\volume] [password | *]]
syntax instead of the drive letter(s)?
 
Try this:

NET USE Z: \\tsclient\c

Where Z: is an available drive letter, and \c is the local drive designation you are mapping. You can also do by right clicking on "My Computer" and selecting "Map Network Drive..."
 
Back
Top