Software-OK
≡... News | ... Home | ... FAQ | Impressum | Contact | Listed at | Thank you |

  
HOME ► Faq ► FAQ - Windows cmd.exe Command-Prompt ► ««« »»»

robocopy or xcopy from command prompt on MS Windows OS!


Should I use robocopy or xcopy from the command prompt on MS Windows OS eg to copy and sync the directories?



Thanks to the robocopy or xcopy commands, you don't necessarily have to use external or full Windows backup software, or install free or paid backup software. XCOPY is usually sufficient for quickly synchronizing directories ! 

Contents:

1.) ... Is robocopy better than xcopy?
2.) ... example robocopy and xcopy for synchronization! 




1.) Is robocopy better than xcopy?

You can get the same results with both, the parameters are different, but you can easily change them with /? be retrieved!


robocopy /?

xcopy /?



Whichever command you use, simply create a batch file containing the command and schedule it to run in Task Scheduler and you have your own bespoke backup solution.

2.) Example robocopy and xcopy for synchronization! 

Just run the following, of course replacing the source and destination folders with what you want to back up and where you want it to go.

Here is a simple example of syncing from D:\3d-wal to X:\3d-wal which is an external drive. 


robocopy "D:\3d-wal\" "X:\3d-wal" /copyall /e /r:0 /dcopy:t /mir




xcopy.exe "D:\3d-wal\*.*" "X:\3d-wal" /S /E /C /H /O /R /Y /D /V


Sometimes it makes sense to start the command prompt in administrative mode 


(Image-3) Synchronize directories using XCOPY!
Synchronize directories using XCOPY!

-
▲ Back to the top ▲




FAQ 132: Updated on: 6 June 2022 17:36 Windows
Windows-Console

Which programs access the Internet cmd.exe command!


Sometimes you just want to see what programs are accessing the internet, luckily you can do that from the classic command prompt with netstat 1. Show
Windows-Console

Adjust the password expiry date via the command prompt!


In the command prompt you can adjust the password expiration date by defining it in the NET ACCOUNTS command Its that easy to adjust the password maximum
Windows-Console

NET ACCAUNTS for password rules under MS Windows OS!


With NET ACCAUNTS you can quickly set password rules for all MS Windows 11, 10, Desktop and Microsoft Server operating systems The "Net Accounts" command
Windows-Console

Delete the connection IPs of the visiting website via command prompt!


If you have problems establishing an Internet connection, it can be helpful to delete the connection IPs of the visiting website via the command prompt
Windows-Console

Deleting File or Folder via Command Prompt!


Deleting file or folder via command prompt on MS Windows desktop and server operating systems is a popular solution to delete Every once in a while, due
Windows-Console

Quickly disable windows user account via command line?


Very popular is the easy and fast deactivation of users via command line on MS Windows 11, 10, and MS Server 2022, 2019, operating systems Everyone
Windows-Console

How to create a batch file on / for MS Windows?


Automation batch files for Windows are becoming more and more popular, it is even more important to correctly name and use the batch, which is often referred

»»

  My question is not there in the FAQ
Asked questions on this answer:
Keywords: windows, console, robocopy, xcopy, from, command, prompt, should, copy, sync, directories, thanks, commands, Questions, Answers, Software




    

  + Freeware
  + Order on the PC
  + File management
  + Automation
  + Office Tools
  + PC testing tools
  + Decoration and fun
  + Desktop-Clocks

  + SoftwareOK Pages
  + Micro Staff
  + Freeware-1
  + Freeware-2
  + Freeware-3
  + FAQ
  + Downloads

  + Top
  + Desktop-OK
  + The Quad Explorer
  + Don't Sleep
  + Win-Scan-2-PDF
  + Quick-Text-Past
  + Print Folder Tree
  + Find Same Images
  + Experience-Index-OK
  + Font-View-OK


  + Freeware
  + Find.Same.Images.OK
  + 3D.Benchmark.OK
  + PhotoResizerOK
  + Office.Files.Images
  + Film.Strip.Explorer
  + WinScan2PDF
  + DontSleep
  + ExperienceIndexOK
  + QuickTextPaste
  + PAD-s


Home | Thanks | Contact | Link me | FAQ | Windows 2021 | Windows 10 | English-AV | Impressum | Translate | PayPal | PAD-s

 © 2023 by Nenad Hrg softwareok.de • softwareok.com • softwareok.com • softwareok.eu
0.062


► How to use MultiClipBoardSlots for Windows, help? ◄

► Ease access to Mouse Setting from Task-Bar To-Tray or Main Menu ! ◄

► How to enable Screen-Saver Password on Windows 7? ◄

This website uses cookies to ensure you get the best experience on our website more Infos & Privacy Policy
....