Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.

Windows 7: How do I command prompt style share my files with RDP?

20 Jul 2013   #1

Windows 7 Iltimate x64
How do I command prompt style share my files with RDP?

Running Windows Hyper-V server [because licenses are expensive]
I have Windows 7
I just want to run an application (an exe) on this server.
How do I move it over?

robocopy ????? c:/temp ?

My System SpecsSystem Spec
20 Jul 2013   #2

Windows 7 Professional x64 SP1 ; Windows Server 2012 R2 Standard

Command Prompt is used primarily to affect the local machine only. You can only copy to local directories (A: C: D: ...etc)

If you wish to copy to a network share then you will first need to map the network share to a letter. To do this enter the following command (Share must have everyone permission applied):

net use H: \\Server\share
The characters in red can be changed for your wish with the letter representing the drive letter you wish to use and the UNC path being the location of the share that you wish to mount.

You must include any spaces listed above

Once mapped, you should be able to copy to the location that you wish

Hope This Helps,
Josh! :)
My System SpecsSystem Spec
20 Jul 2013   #3

Windows 7 Iltimate x64

What if the server is on a different network? ei: in the middle of Santiago and im in NC?
I'm connecting using a public IP. It's not like we're in the same house using the same router.
My System SpecsSystem Spec

20 Jul 2013   #4

Windows 7 Professional x64 SP1 ; Windows Server 2012 R2 Standard

In that case, replace (\\Server) with the IP address of the server

for example - \\\share

Note   Note
This will have to be a public IP address and the router for the servers LAN must not have NAT installed since this could cause your request to fail

My System SpecsSystem Spec

 How do I command prompt style share my files with RDP?

Thread Tools

Similar help and support threads
Thread Forum
Removing registered Acrobat 8.0 files using the command prompt.
The instructions are below. I get as far as the third line, which reads: Type cd "C:\Program Files\Common Files\Adobe\Acrobat\ActiveX" and press Enter. It responds, "path not found." I paste in this entire line, letter for letter. cd "C:\Program Files\Common Files\Adobe\Acrobat\ActiveX" Is...
Extracting files from an executable with the command prompt
Hello everybody. I have what I thought should be a relatively straightforward question: What do I type in the command prompt in Win7 to extract all the files from inside an .exe? I remember doing it once a long while back, but I forgot how and Google is being especially unhelpful. One result...
General Discussion
BSOD Error C0000135; No reboot after Command Prompt to get DMP files
Hi everyone, After closing our Asus laptop 2 nights ago (but not shutting it down), BSOD appeared with the following message: STOP: C0000135 The program cannot start because %hs is missing from your computer. Trying reinstalling the program. I've tried many different recovery/repair...
BSOD Help and Support
Run administrative command prompt from command prompt
Ok So I got myself into a unique bind here. I was trying to install some custom system files (for a theme) and I did it wrong and now I cant open explorer.exe . I dont want to goto a backup because this is a easy fix. (in my view). So I need to know how to run command prompt with administrative...
General Discussion
Command Line Prompt - How To Export List of Files to Text File
Hi guys, I have a folder with 995 files in it and I'd like to give someone a text file with a list of all these files in it. Is there a way that I can get the command line to send the names of these files to a text file? I tried navigating to the directory and using the DIR command and,...
General Discussion

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 11:12.
Twitter Facebook Google+