Best comand line to copy a file
Hi all, I am searching for an easy way to to copy a file from one windows server to a different server or to an desktop by using command prompt......... Can any one help me out...........
March 24th, 2011 3:18am

Errr, how about copy? net use z: \\server\share net use y: \\otherserver\share copy z:\somefile.someext y: /v If you have requirements, please feel free to write them down here.MCP
Free Windows Admin Tool Kit Click here and download it now
March 24th, 2011 6:43am

Xcopy is the command I'd recommend if your looking to move large files or entire directory trees. It's very efficient and provides extra functionality to configure exactly how you want the copy to react with the option to generate very verbose logs. Any requirements you have will likely be met using this command. Hope this informations is helpful.
March 24th, 2011 11:51am

Desi Did you know that this is a forum for developers to create applications and who have problems with elements from the windows.forms.namespace? Seems to me that the Technet forums are a better choice for you. http://technet.microsoft.com/forums Success Cor
Free Windows Admin Tool Kit Click here and download it now
March 24th, 2011 12:20pm

Use Robocopy! http://en.wikipedia.org/wiki/Robocopy "The programmer, like the poet, works only slightly removed from pure thought-stuff. He builds his castles in the air, from air, creating by exertion of the imagination." - Fred Brooks
March 24th, 2011 1:14pm

Hi Wan kitreav, The windows server expert here will show you more expert help on this question, so I moved this thread here. Best wishes,Mike [MSFT] MSDN Community Support | Feedback to us Get or Request Code Sample from Microsoft Please remember to mark the replies as answers if they help and unmark them if they provide no help.
Free Windows Admin Tool Kit Click here and download it now
March 28th, 2011 3:10pm

One file? Then you can use just copy command. Copy - http://technet.microsoft.com/en-us/library/bb490886.aspx If it is multiple files and folders, you can use Robocopy or Xcopy Robocopy - http://technet.microsoft.com/en-us/library/cc733145(WS.10).aspx Xcopy - http://technet.microsoft.com/en-us/library/bb491035.aspx Santhosh Sivarajan | MCTS, MCSE (W2K3/W2K/NT4), MCSA (W2K3/W2K/MSG), CCNA, Network+ Houston, TX Blogs - http://blogs.sivarajan.com/ Articles - http://www.sivarajan.com/publications.html Twitter: @santhosh_sivara - http://twitter.com/santhosh_sivara This posting is provided AS IS with no warranties, and confers no rights.
March 28th, 2011 7:14pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics