


Replace the file.FileExt by the text.txt file, which is my test off for /D %%a in ("path-to-folder\*.*") do xcopy /y /d path-to-file\file.FileExt off for /D %%a in ("Ĭ:\Users\wayto\Desktop\Destination Folder\*.*") do xcopy /y /dĬ:\Users\wayto\Desktop\Source\text.FileExt "%%a\" So, replace path-to-folder by the path to the Destination Folder. Within, the destination folder, there are three more sub folders namely, destination 1, destination 2 and destination 3 respectively. I have created a folder name Destination Folder. I have created a test file that I want to copy.
/copy-command-options-windows-10-5b7d6ba9c9e77c0050c60eda.png)
You will need to make edits to this script before you can save it. On the above script, you have to make some edits. Save the script in BAT file format and run it. For that, open Notepad and paste the following text in off for /D %%a in ("path-to-folder\*.*") do xcopy /y /d path-to-file\file.FileExt "%%a\"

So, to begin with, you have to create a batch script. So, if the folders are in different locations, then you have to bring them under one common folder, which ultimately nullifies the effect of time saving. For example, if the folders, where you want to copy the file are in different locations, or drives, then the process won’t work for you. Before we show the steps, we must admit that this is just an alternative to save your time, but it lacks flexibility and has a lot of restrictions. In Windows 10, there is an alternate way by which you can copy a file to multiple folders without consuming much time. You can easily perform it by drag and drop method or copying the file first and then pasting it on all the folders of your system. Copying a file to multiple locations or folders is not a big deal.
