Quantcast
Channel: What is the windows command line command to copy files? - Server Fault
Browsing latest articles
Browse All 8 View Live

Answer by Program-Me-Rev for What is the windows command line command to copy...

Use ROBOCOPY if you're creating backup scripts. xcopy has been deprecated and will likely be phased out of use in the near future. robocopy can do everything xcopy can. It is also more flexible and...

View Article



Answer by Jeff for What is the windows command line command to copy files?

The above command creates an additional directory level with the name of the source file. So... xcopy /I srcdir\dir1\dir2\file1.txt* destdir\dir1\dir2\file1.txt results in...

View Article

Answer by Richard for What is the windows command line command to copy files?

If you want the ability to synchronise the copy and other advanced features (ignore certain folders, only include certain wildcards) then look at robocopy. Included in Vista and beyond, optional (from...

View Article

Answer by WaldenL for What is the windows command line command to copy files?

xcopy will create the directory structure for you. Trick is to use the /I option and throw an asterisk at the end of the file name so xcopy thinks you're copying multiple files, otherwise it asks you...

View Article

Answer by user1797 for What is the windows command line command to copy files?

The command xcopy is what you are looking for. Example: xcopy source destination /E /C /H /R /K /O /Y The command above will copy source to destination, files and directories (including empty ones),...

View Article


Answer by Graeme Perrow for What is the windows command line command to copy...

In a batch file: if not exists locationB\nul mkdir locationB copy locationA\file locationB if not exists checks the parameter to see if it exists, but it only works on files. To check for existence of...

View Article

Answer by Dani for What is the windows command line command to copy files?

Use md to create the folder (it's ok if it already exists) Use copy or move for files, and xcopy for folders

View Article

What is the windows command line command to copy files?

What is the windows command prompt command to copy files? I need to move a file from location A to location B. Also if the folder for location B doesn't' exists I want to have it created. I need this...

View Article

Browsing latest articles
Browse All 8 View Live




Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>
<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596344.js" async> </script>