Windows – Copy windows shared file from cmd

network-sharewindowswindows-command-prompt

Is there a downloading tool that supports Windows Shared files and works from command line?

Standard copy is getting hanged with no action on my side.
Tried wget but seems it doesn't 'eat' the link.

Best Answer

Robocopy is the way to go. Download here:

http://www.microsoft.com/Downloads/details.aspx?FamilyID=9d467a69-57ff-4ae7-96ee-b18c4790cffd&displaylang=en

/? flag will give you all the options. I've used it for migrating data to new hardware, and it works great.

Edit to add:

Found my ticket with the syntax

robocopy E:\Files F:\Files /e /copyall

/e = copies empty directories /copyall = copies all NTFS data, attributes, timestamps, ACLs, owner, & auditing info