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


  1. Posts : 30
    Windows 7 Iltimate x64
       #1

    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 Computer


  2. Posts : 2,298
    Windows 7 Professional x64 SP1 ; Windows Server 2012 R2 Standard
       #2

    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):

    Code:
    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 Computer


  3. Posts : 30
    Windows 7 Iltimate x64
    Thread Starter
       #3

    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 Computer


  4. Posts : 2,298
    Windows 7 Professional x64 SP1 ; Windows Server 2012 R2 Standard
       #4

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

    for example - \\192.168.1.1\share

       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


    Josh
      My Computer


 

  Related Discussions
Our Sites
Site Links
About 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 15:08.
Find Us