Question : Copying a Network File to Server 2008 R2 Using Dos

Hi;

I am having a wonderful time trying to setup a machine with Server Core then running Hyper V. I need to copy a file to the server and would like to use a dos command to do so. I found this command
    net use \\computername\c$ /user:username_on_remote_pc and hit enter, you will be prompted for the  
     password of the user account that you used  above for the remote PC, enter it.
     After that dir \\computername\c$ will work and so will copy. Rather use robocopy,
      you can download it from Microsoft, it is a lot more robust for network copies.

but each time I try to run it I get a syntax error.

I really do need to get this in ASAP. Can anyone help?

Answer : Copying a Network File to Server 2008 R2 Using Dos

In that case it sounds like you don't have permission - make sure you're specifying an administrator account AND that your command prompt has administrative rights...
Random Solutions  
 
programming4us programming4us