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

sfxworks

New member
Member
Local time
5:19 AM
Messages
30
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 My Computer

At a glance

Windows 7 Iltimate x64
OS
Windows 7 Iltimate x64
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 [COLOR="red"][B]H:[/B][/COLOR] [COLOR="Red"]\\Server\share[/COLOR]

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 My Computer

At a glance

Windows 7 Professional x64 SP1 ; Windows Serv...Intel Core i5 2400 @ 3.10GHz8.0GB DDR3 @ 665MHz (2GBx4)AMD Radeon HD 6870
Computer type
PC/Desktop
Computer Manufacturer/Model Number
Custom Built
OS
Windows 7 Professional x64 SP1 ; Windows Server 2012 R2 Standard
CPU
Intel Core i5 2400 @ 3.10GHz
Motherboard
Foxconn H67MP-S/-V/H67MP
Memory
8.0GB DDR3 @ 665MHz (2GBx4)
Graphics Card(s)
AMD Radeon HD 6870
Sound Card
Realtek High Definition Audio
Monitor(s) Displays
AOC 2243W & SMB1930NW
Screen Resolution
1440x900 & 1920x1080
Hard Drives
977GB Seagate ST31000524AS ATA Drive (SATA)
250GB WD iSCSI attached Drive
PSU
750W Gaming PSU
Case
Novatech Night
Cooling
Fan
Keyboard
Dell Standard PS/2 Keyboard
Mouse
R.A.T 07 Gaming Mouse
Internet Speed
Download: 10 Mbps Ping: 30ms Upload: 0.81 Mbps
Browser
Google Chrome
Other Info
Optiarc DVD RW AD-5260S ATA Device
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 My Computer

At a glance

Windows 7 Iltimate x64
OS
Windows 7 Iltimate x64
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 My Computer

At a glance

Windows 7 Professional x64 SP1 ; Windows Serv...Intel Core i5 2400 @ 3.10GHz8.0GB DDR3 @ 665MHz (2GBx4)AMD Radeon HD 6870
Computer type
PC/Desktop
Computer Manufacturer/Model Number
Custom Built
OS
Windows 7 Professional x64 SP1 ; Windows Server 2012 R2 Standard
CPU
Intel Core i5 2400 @ 3.10GHz
Motherboard
Foxconn H67MP-S/-V/H67MP
Memory
8.0GB DDR3 @ 665MHz (2GBx4)
Graphics Card(s)
AMD Radeon HD 6870
Sound Card
Realtek High Definition Audio
Monitor(s) Displays
AOC 2243W & SMB1930NW
Screen Resolution
1440x900 & 1920x1080
Hard Drives
977GB Seagate ST31000524AS ATA Drive (SATA)
250GB WD iSCSI attached Drive
PSU
750W Gaming PSU
Case
Novatech Night
Cooling
Fan
Keyboard
Dell Standard PS/2 Keyboard
Mouse
R.A.T 07 Gaming Mouse
Internet Speed
Download: 10 Mbps Ping: 30ms Upload: 0.81 Mbps
Browser
Google Chrome
Other Info
Optiarc DVD RW AD-5260S ATA Device
Back
Top