batch script to create a folder in each sub-folder
Posted on 2008-10-26
I need a batch script to perform some file functions, I have user directories like:
In each of user folder there are some files.
I'd like to make a new folder called "Archive Files" in each user directory and move only the specific files on their root folder (i.e. user1/*.xyz) to the "Archive Folder"
Once again, I need a script to:
1- Go in user folder
2- Create a directory called "Archive Files"
3- Move the *.xyz files in "userX" to the "Archive Files" folder
4- then start the step 1 again to the next user directory.
Thanks, I would really appriciate your help.