Hi Community,
I was wondering if someone could help me. I am looking to write a batch program to move files from one folder to multiple folders on another drive by the file names. Do you know if this is possible and how would I do it? Here is what I have so far for moving the files to just one folder. I would like to expand this to multiple folders by the file names.
@ echo off
set /p date=”Enter Date ”
xcopy /y “C:\Documents and Settings\Desktop\Configurations” “M:\Temp\370000-379999” /d:%date%
This works great for all the files created on the date entered to current date, but the problem I have is after the files are moved I have to manually go and move them to the correct folder.
I am a rookie and will take any help and any good docs to go and look at to learn it myself.
Thanks so much in advance for all of your help.
Bryon