Move file from multiples folder to the same folder

ryan8200

Active Member
Joined
Aug 21, 2011
Messages
357
How to move file from multiples folder to the same folder using BAT. file ?
Kindly advise.
 

Excel Facts

Show numbers in thousands?
Use a custom number format of #,##0,K. Each comma after the final 0 will divide the displayed number by another thousand
How to move file from multiples folder to the same folder using BAT. file ?
Kindly advise.
It has been a long while since I have worked with a BAT file, but you should be able to use DOS's Move command to do that, for example something like this...

c:\dir1\dir2\file1.txt c:\dir3\file2.txt d:\dirX\dirY\file3.txt c:\DestinationDir1\DestinationDir2

If you call us the Command Prompt window and enter...

Move /?

in it, you will see the help file for Move (you will probably be interested in its available options.
 
Upvote 0

Forum statistics

Threads
1,215,810
Messages
6,127,015
Members
449,351
Latest member
Sylvine

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top