Can I access Remote Desktop shared drive from command prompt?

I am using Windows Remote Desktop to connect to a server. I have enabled access to a local drive as per http://support.microsoft.com/kb/313292 but I'm trying to figure out how to access the drive from the command prompt.

As per the link the shared drive shows up as drive_letter on terminal_server_client_name but using that in the command prompt doesn't work.

Does anyone know of a way I can access this file from command prompt or power shell so I can script some stuff out?

Thanks,

Shane


Solution 1:

\\tsclient\X

where X is the drive letter.

Solution 2:

I have been looking for a simple way to do this too, due to a simple batch file I am scripting. You can access the location by mapping the network drive. Within your remote desktop Windows OS, go to Network > tsclient and right click the network drive and select "Map Network Drive". Now you can access it with the letter that is mapped to it.