This can be useful for the developers and writers with files with different versions to know the difference between two files. You can compare two files as well with the Command Prompt. Well, if you just want to know missing files in the source and destination folder, the robocopy command is perfect. Therefore, some users may find the output very simple and not that informative as comparison tools. The files which are present in both folders are not displayed in the output. Similarly, sshot-2.png and taskkill.lnk are present in Folder 1 and not Folder 2. Here, abc.bat, sshot-6.png, and sshot-8.png are present in Folder 2 and not in Folder 1. The output of this command will be as below. Make sure you type in the right path of the folder/directory otherwise, you will get errors while executing the command. The command will look like this: robocopy "C:UsersUrviDesktopFolder 1" "C:UsersUrviDesktopFolder 2" /L /NJH /NJS /NP /NS robocopy command execution You need to add both the location of the folders in the command. robocopy “Folder 1 Path” “Folder 2 Path” /L /NJH /NJS /NP /NS ![]() In the Command Prompt terminal, type the below command and press Enter. Open Command Prompt from the search results. Press Windows key + S and type cmd in the search bar of the Start menu.
0 Comments
Leave a Reply. |