Automatically Organize Files according to their file types!!
Posted: 03 Apr 2010 06:09
hi dostips expert batch scripters,
my pc FILES are all in a mess, cz long time no move them to proper folder!
how do you write a amazing bat script to organize/move all files type to its folder according to its own file extension??
for example,
c:\mess\*.pdf *.doc *.jpg *.mp3 *.mp4 *.bat *.etc
becomes like below,
c:\document\pdf\*.pdf
c:\document\word\*.doc
c:\pictures\jpg\*.jpg
c:\music\mp3\*.mp3
c:\etc\etc\*.etc
AND one Important thing is Never Rewrite the same filename, if exist same filename1, it will automatically save in filename2...
thanks in advance !!
my pc FILES are all in a mess, cz long time no move them to proper folder!
how do you write a amazing bat script to organize/move all files type to its folder according to its own file extension??
for example,
c:\mess\*.pdf *.doc *.jpg *.mp3 *.mp4 *.bat *.etc
becomes like below,
c:\document\pdf\*.pdf
c:\document\word\*.doc
c:\pictures\jpg\*.jpg
c:\music\mp3\*.mp3
c:\etc\etc\*.etc
AND one Important thing is Never Rewrite the same filename, if exist same filename1, it will automatically save in filename2...
thanks in advance !!