I need a VBS Script to automatically organize my files by a criterion I specify (character string).
Something like old MS-DOS, where we can refer to a character string, using *string*. For exemple «move *java* Java\» will move files which name contains java to the Java folder.
I want to use SPACES in string, and use MULTIPLE strings (« move *all* + *night* C:\Music\VA\All Night » – yes, this is an incorrect syntax, but you get the idea of using multiple strings).
More examples from MS-DOS (correct syntax) :
move "Java for Newbies.pdf" "Java Newbies”
move "*java*.pdf" "Mastering Java”
move "*all night*" "C:\Music\VA\All Night"
for /f "delims=" %a in ('dir *all* /b ^| findstr /i "night"') do move "%a" "All Night”
This is very useful to organize my eMule's downloads (all files are mixed inside the same Incoming folder, what is really very chaotic!).
It would be very good to have a "preview mode" (to see the results before moving - something like «dir *string*» command, at first; and «move *string* string\» thereafter ).
A great thank you in advance.