File Organizer

Moves files in your user directory to your Pictures, Documents, Music, eBook folder depending on the file type

@echo off
if exist "C:\Users" goto Vista
if exist "C:\Documents and Settings" goto XP
goto error
:Vista
cd "%userprofile%"
if not exist "Documents" md "Documents"
if not exist "Pictures" md "Pictures"
if not exist "Music" md "Music"
if not exist "Vidoes" md "Videos"
if not exist "eBooks" md "eBooks"
cd "%userprofile%\Documents"
move "*.pdf" "%userprofile%\eBooks"
move "*.chm" "%userprofile%\eBooks"
move "*.docx" "%userprofile%\Documents"
move "*.doc" "%userprofile%\Documents"
move "*.log" "%userprofile%\Documents"
move "*.msg" "%userprofile%\Documents"
move "*.pages" "%userprofile%\Documents"
move "*.rtf" "%userprofile%\Documents"
move "*.txt" "%userprofile%\Documents"
move "*.wpd" "%userprofile%\Documents"
move "*.wps" "%userprofile%\Documents"
move "*.3dm" "%userprofile%\Pictures"
move "*.3dmf" "%userprofile%\Pictures"
move "*.ai" "%userprofile%\Pictures"
move "*.bmp" "%userprofile%\Pictures"
move "*.drw" "%userprofile%\Pictures"
move "*.dwg" "%userprofile%\Pictures"
move "*.dxf" "%userprofile%\Pictures"
move "*.eps" "%userprofile%\Pictures"
move "*.gif" "%userprofile%\Pictures"
move "*.ico" "%userprofile%\Pictures"
move "*.icon" "%userprofile%\Pictures"
move "*.indd" "%userprofile%\Pictures"
move "*.jpeg" "%userprofile%\Pictures"
move "*.jpg" "%userprofile%\Pictures"
move "*.pct" "%userprofile%\Pictures"
move "*.pln" "%userprofile%\Pictures"
move "*.ps" "%userprofile%\Pictures"
move "*.psd" "%userprofile%\Pictures"
move "*.psp" "%userprofile%\Pictures"
move "*.qxd" "%userprofile%\Pictures"
move "*.qxp" "%userprofile%\Pictures"
move "*.svg" "%userprofile%\Pictures"
move "*.thm" "%userprofile%\Pictures"
move "*.tif" "%userprofile%\Pictures"
move "*.aac" "%userprofile%\Music"
move "*.aif" "%userprofile%\Music"
move "*.iif" "%userprofile%\Music"
move "*.m3u" "%userprofile%\Music"
move "*.mid" "%userprofile%\Music"
move "*.midi" "%userprofile%\Music"
move "*.mp3" "%userprofile%\Music"
move "*.mpa" "%userprofile%\Music"
move "*.ra" "%userprofile%\Music"
move "*.wav" "%userprofile%\Music"
move "*.wma" "%userprofile%\Music"
move "*.m3u" "%userprofile%\Music"
move "*.3g2" "%userprofile%\Videos"
move "*.3gp" "%userprofile%\Videos"
move "*.asf" "%userprofile%\Videos"
move "*.asx" "%userprofile%\Videos"
move "*.avi" "%userprofile%\Videos"
move "*.flv" "%userprofile%\Videos"
move "*.mkv" "%userprofile%\Videos"
move "*.mov" "%userprofile%\Videos"
move "*.mp4" "%userprofile%\Videos"
move "*.mpg" "%userprofile%\Videos"
move "*.qt" "%userprofile%\Videos"
move "*.rm" "%userprofile%\Videos"
move "*.swf" "%userprofile%\Videos"
move "*.vob" "%userprofile%\Videos"
move "*.wmv" "%userprofile%\Videos"
cd "%userprofile%\Pictures"
move "*.pdf" "%userprofile%\eBooks"
move "*.chm" "%userprofile%\eBooks"
move "*.doc" "%userprofile%\Documents"
move "*.docx" "%userprofile%\Documents"
move "*.log" "%userprofile%\Documents"
move "*.msg" "%userprofile%\Documents"
move "*.pages" "%userprofile%\Documents"
move "*.rtf" "%userprofile%\Documents"
move "*.txt" "%userprofile%\Documents"
move "*.wpd" "%userprofile%\Documents"
move "*.wps" "%userprofile%\Documents"
move "*.3dm" "%userprofile%\Pictures"
move "*.3dmf" "%userprofile%\Pictures"
move "*.ai" "%userprofile%\Pictures"
move "*.bmp" "%userprofile%\Pictures"
move "*.drw" "%userprofile%\Pictures"
move "*.dwg" "%userprofile%\Pictures"
move "*.dxf" "%userprofile%\Pictures"
move "*.eps" "%userprofile%\Pictures"
move "*.gif" "%userprofile%\Pictures"
move "*.ico" "%userprofile%\Pictures"
move "*.icon" "%userprofile%\Pictures"
move "*.indd" "%userprofile%\Pictures"
move "*.jpeg" "%userprofile%\Pictures"
move "*.jpg" "%userprofile%\Pictures"
move "*.pct" "%userprofile%\Pictures"
move "*.pln" "%userprofile%\Pictures"
move "*.ps" "%userprofile%\Pictures"
move "*.psd" "%userprofile%\Pictures"
move "*.psp" "%userprofile%\Pictures"
move "*.qxd" "%userprofile%\Pictures"
move "*.qxp" "%userprofile%\Pictures"
move "*.svg" "%userprofile%\Pictures"
move "*.thm" "%userprofile%\Pictures"
move "*.tif" "%userprofile%\Pictures"
move "*.aac" "%userprofile%\Music"
move "*.aif" "%userprofile%\Music"
move "*.iif" "%userprofile%\Music"
move "*.m3u" "%userprofile%\Music"
move "*.mid" "%userprofile%\Music"
move "*.midi" "%userprofile%\Music"
move "*.mp3" "%userprofile%\Music"
move "*.mpa" "%userprofile%\Music"
move "*.ra" "%userprofile%\Music"
move "*.wav" "%userprofile%\Music"
move "*.wma" "%userprofile%\Music"
move "*.m3u" "%userprofile%\Music"
move "*.3g2" "%userprofile%\Videos"
move "*.3gp" "%userprofile%\Videos"
move "*.asf" "%userprofile%\Videos"
move "*.asx" "%userprofile%\Videos"
move "*.avi" "%userprofile%\Videos"
move "*.flv" "%userprofile%\Videos"
move "*.mkv" "%userprofile%\Videos"
move "*.mov" "%userprofile%\Videos"
move "*.mp4" "%userprofile%\Videos"
move "*.mpg" "%userprofile%\Videos"
move "*.qt" "%userprofile%\Videos"
move "*.rm" "%userprofile%\Videos"
move "*.swf" "%userprofile%\Videos"
move "*.vob" "%userprofile%\Videos"
move "*.wmv" "%userprofile%\Videos"
cd "%userprofile%\Music"
move "*.pdf" "%userprofile%\eBooks"
move "*.chm" "%userprofile%\eBooks"
move "*.doc" "%userprofile%\Documents"
move "*.docx" "%userprofile%\Documents"
move "*.log" "%userprofile%\Documents"
move "*.msg" "%userprofile%\Documents"
move "*.pages" "%userprofile%\Documents"
move "*.rtf" "%userprofile%\Documents"
move "*.txt" "%userprofile%\Documents"
move "*.wpd" "%userprofile%\Documents"
move "*.wps" "%userprofile%\Documents"
move "*.3dm" "%userprofile%\Pictures"
move "*.3dmf" "%userprofile%\Pictures"
move "*.ai" "%userprofile%\Pictures"
move "*.bmp" "%userprofile%\Pictures"
move "*.drw" "%userprofile%\Pictures"
move "*.dwg" "%userprofile%\Pictures"
move "*.dxf" "%userprofile%\Pictures"
move "*.eps" "%userprofile%\Pictures"
move "*.gif" "%userprofile%\Pictures"
move "*.ico" "%userprofile%\Pictures"
move "*.icon" "%userprofile%\Pictures"
move "*.indd" "%userprofile%\Pictures"
move "*.jpeg" "%userprofile%\Pictures"
move "*.jpg" "%userprofile%\Pictures"
move "*.pct" "%userprofile%\Pictures"
move "*.pln" "%userprofile%\Pictures"
move "*.ps" "%userprofile%\Pictures"
move "*.psd" "%userprofile%\Pictures"
move "*.psp" "%userprofile%\Pictures"
move "*.qxd" "%userprofile%\Pictures"
move "*.qxp" "%userprofile%\Pictures"
move "*.svg" "%userprofile%\Pictures"
move "*.thm" "%userprofile%\Pictures"
move "*.tif" "%userprofile%\Pictures"
move "*.aac" "%userprofile%\Music"
move "*.aif" "%userprofile%\Music"
move "*.iif" "%userprofile%\Music"
move "*.m3u" "%userprofile%\Music"
move "*.mid" "%userprofile%\Music"
move "*.midi" "%userprofile%\Music"
move "*.mp3" "%userprofile%\Music"
move "*.mpa" "%userprofile%\Music"
move "*.ra" "%userprofile%\Music"
move "*.wav" "%userprofile%\Music"
move "*.wma" "%userprofile%\Music"
move "*.m3u" "%userprofile%\Music"
move "*.3g2" "%userprofile%\Videos"
move "*.3gp" "%userprofile%\Videos"
move "*.asf" "%userprofile%\Videos"
move "*.asx" "%userprofile%\Videos"
move "*.avi" "%userprofile%\Videos"
move "*.flv" "%userprofile%\Videos"
move "*.mkv" "%userprofile%\Videos"
move "*.mov" "%userprofile%\Videos"
move "*.mp4" "%userprofile%\Videos"
move "*.mpg" "%userprofile%\Videos"
move "*.qt" "%userprofile%\Videos"
move "*.rm" "%userprofile%\Videos"
move "*.swf" "%userprofile%\Videos"
move "*.vob" "%userprofile%\Videos"
move "*.wmv" "%userprofile%\Videos"
cd "%userprofile%\Videos"
move "*.pdf" "%userprofile%\eBooks"
move "*.chm" "%userprofile%\eBooks"
move "*.doc" "%userprofile%\Documents"
move "*.docx" "%userprofile%\Documents"
move "*.log" "%userprofile%\Documents"
move "*.msg" "%userprofile%\Documents"
move "*.pages" "%userprofile%\Documents"
move "*.rtf" "%userprofile%\Documents"
move "*.txt" "%userprofile%\Documents"
move "*.wpd" "%userprofile%\Documents"
move "*.wps" "%userprofile%\Documents"
move "*.3dm" "%userprofile%\Pictures"
move "*.3dmf" "%userprofile%\Pictures"
move "*.ai" "%userprofile%\Pictures"
move "*.bmp" "%userprofile%\Pictures"
move "*.drw" "%userprofile%\Pictures"
move "*.dwg" "%userprofile%\Pictures"
move "*.dxf" "%userprofile%\Pictures"
move "*.eps" "%userprofile%\Pictures"
move "*.gif" "%userprofile%\Pictures"
move "*.ico" "%userprofile%\Pictures"
move "*.icon" "%userprofile%\Pictures"
move "*.indd" "%userprofile%\Pictures"
move "*.jpeg" "%userprofile%\Pictures"
move "*.jpg" "%userprofile%\Pictures"
move "*.pct" "%userprofile%\Pictures"
move "*.pln" "%userprofile%\Pictures"
move "*.ps" "%userprofile%\Pictures"
move "*.psd" "%userprofile%\Pictures"
move "*.psp" "%userprofile%\Pictures"
move "*.qxd" "%userprofile%\Pictures"
move "*.qxp" "%userprofile%\Pictures"
move "*.svg" "%userprofile%\Pictures"
move "*.thm" "%userprofile%\Pictures"
move "*.tif" "%userprofile%\Pictures"
move "*.aac" "%userprofile%\Music"
move "*.aif" "%userprofile%\Music"
move "*.iif" "%userprofile%\Music"
move "*.m3u" "%userprofile%\Music"
move "*.mid" "%userprofile%\Music"
move "*.midi" "%userprofile%\Music"
move "*.mp3" "%userprofile%\Music"
move "*.mpa" "%userprofile%\Music"
move "*.ra" "%userprofile%\Music"
move "*.wav" "%userprofile%\Music"
move "*.wma" "%userprofile%\Music"
move "*.m3u" "%userprofile%\Music"
move "*.3g2" "%userprofile%\Videos"
move "*.3gp" "%userprofile%\Videos"
move "*.asf" "%userprofile%\Videos"
move "*.asx" "%userprofile%\Videos"
move "*.avi" "%userprofile%\Videos"
move "*.flv" "%userprofile%\Videos"
move "*.mkv" "%userprofile%\Videos"
move "*.mov" "%userprofile%\Videos"
move "*.mp4" "%userprofile%\Videos"
move "*.mpg" "%userprofile%\Videos"
move "*.qt" "%userprofile%\Videos"
move "*.rm" "%userprofile%\Videos"
move "*.swf" "%userprofile%\Videos"
move "*.vob" "%userprofile%\Videos"
move "*.wmv" "%userprofile%\Videos"
cd "%userprofile%\Desktop"
move "*.pdf" "%userprofile%\eBooks"
move "*.chm" "%userprofile%\eBooks"
move "*.doc" "%userprofile%\Documents"
move "*.docx" "%userprofile%\Documents"
move "*.log" "%userprofile%\Documents"
move "*.msg" "%userprofile%\Documents"
move "*.pages" "%userprofile%\Documents"
move "*.rtf" "%userprofile%\Documents"
move "*.txt" "%userprofile%\Documents"
move "*.wpd" "%userprofile%\Documents"
move "*.wps" "%userprofile%\Documents"
move "*.3dm" "%userprofile%\Pictures"
move "*.3dmf" "%userprofile%\Pictures"
move "*.ai" "%userprofile%\Pictures"
move "*.bmp" "%userprofile%\Pictures"
move "*.drw" "%userprofile%\Pictures"
move "*.dwg" "%userprofile%\Pictures"
move "*.dxf" "%userprofile%\Pictures"
move "*.eps" "%userprofile%\Pictures"
move "*.gif" "%userprofile%\Pictures"
move "*.ico" "%userprofile%\Pictures"
move "*.icon" "%userprofile%\Pictures"
move "*.indd" "%userprofile%\Pictures"
move "*.jpeg" "%userprofile%\Pictures"
move "*.jpg" "%userprofile%\Pictures"
move "*.pct" "%userprofile%\Pictures"
move "*.pln" "%userprofile%\Pictures"
move "*.ps" "%userprofile%\Pictures"
move "*.psd" "%userprofile%\Pictures"
move "*.psp" "%userprofile%\Pictures"
move "*.qxd" "%userprofile%\Pictures"
move "*.qxp" "%userprofile%\Pictures"
move "*.svg" "%userprofile%\Pictures"
move "*.thm" "%userprofile%\Pictures"
move "*.tif" "%userprofile%\Pictures"
move "*.aac" "%userprofile%\Music"
move "*.aif" "%userprofile%\Music"
move "*.iif" "%userprofile%\Music"
move "*.m3u" "%userprofile%\Music"
move "*.mid" "%userprofile%\Music"
move "*.midi" "%userprofile%\Music"
move "*.mp3" "%userprofile%\Music"
move "*.mpa" "%userprofile%\Music"
move "*.ra" "%userprofile%\Music"
move "*.wav" "%userprofile%\Music"
move "*.wma" "%userprofile%\Music"
move "*.m3u" "%userprofile%\Music"
move "*.3g2" "%userprofile%\Videos"
move "*.3gp" "%userprofile%\Videos"
move "*.asf" "%userprofile%\Videos"
move "*.asx" "%userprofile%\Videos"
move "*.avi" "%userprofile%\Videos"
move "*.flv" "%userprofile%\Videos"
move "*.mkv" "%userprofile%\Videos"
move "*.mov" "%userprofile%\Videos"
move "*.mp4" "%userprofile%\Videos"
move "*.mpg" "%userprofile%\Videos"
move "*.qt" "%userprofile%\Videos"
move "*.rm" "%userprofile%\Videos"
move "*.swf" "%userprofile%\Videos"
move "*.vob" "%userprofile%\Videos"
move "*.wmv" "%userprofile%\Videos"
for /r "%userprofile%\Documents" /d %%d in (*) do (
move "%%d\*.pdf" "%userprofile%\eBooks"
move "%%d\*.chm" "%userprofile%\eBooks"
move "%%d\*.doc" "%userprofile%\Documents"
move "%%d\*.docx" "%userprofile%\Documents"
move "%%d\*.log" "%userprofile%\Documents"
move "%%d\*.msg" "%userprofile%\Documents"
move "%%d\*.pages" "%userprofile%\Documents"
move "%%d\*.rtf" "%userprofile%\Documents"
move "%%d\*.txt" "%userprofile%\Documents"
move "%%d\*.wpd" "%userprofile%\Documents"
move "%%d\*.wps" "%userprofile%\Documents"
move "%%d\*.3dm" "%userprofile%\Pictures"
move "%%d\*.3dmf" "%userprofile%\Pictures"
move "%%d\*.ai" "%userprofile%\Pictures"
move "%%d\*.bmp" "%userprofile%\Pictures"
move "%%d\*.drw" "%userprofile%\Pictures"
move "%%d\*.dwg" "%userprofile%\Pictures"
move "%%d\*.dxf" "%userprofile%\Pictures"
move "%%d\*.eps" "%userprofile%\Pictures"
move "%%d\*.gif" "%userprofile%\Pictures"
move "%%d\*.ico" "%userprofile%\Pictures"
move "%%d\*.icon" "%userprofile%\Pictures"
move "%%d\*.indd" "%userprofile%\Pictures"
move "%%d\*.jpeg" "%userprofile%\Pictures"
move "%%d\*.jpg" "%userprofile%\Pictures"
move "%%d\*.pct" "%userprofile%\Pictures"
move "%%d\*.pln" "%userprofile%\Pictures"
move "%%d\*.ps" "%userprofile%\Pictures"
move "%%d\*.psd" "%userprofile%\Pictures"
move "%%d\*.psp" "%userprofile%\Pictures"
move "%%d\*.qxd" "%userprofile%\Pictures"
move "%%d\*.qxp" "%userprofile%\Pictures"
move "%%d\*.svg" "%userprofile%\Pictures"
move "%%d\*.thm" "%userprofile%\Pictures"
move "%%d\*.tif" "%userprofile%\Pictures"
move "%%d\*.aac" "%userprofile%\Music"
move "%%d\*.aif" "%userprofile%\Music"
move "%%d\*.iif" "%userprofile%\Music"
move "%%d\*.m3u" "%userprofile%\Music"
move "%%d\*.mid" "%userprofile%\Music"
move "%%d\*.midi" "%userprofile%\Music"
move "%%d\*.mp3" "%userprofile%\Music"
move "%%d\*.mpa" "%userprofile%\Music"
move "%%d\*.ra" "%userprofile%\Music"
move "%%d\*.wav" "%userprofile%\Music"
move "%%d\*.wma" "%userprofile%\Music"
move "%%d\*.m3u" "%userprofile%\Music"
move "%%d\*.3g2" "%userprofile%\Videos"
move "%%d\*.3gp" "%userprofile%\Videos"
move "%%d\*.asf" "%userprofile%\Videos"
move "%%d\*.asx" "%userprofile%\Videos"
move "%%d\*.avi" "%userprofile%\Videos"
move "%%d\*.flv" "%userprofile%\Videos"
move "%%d\*.mkv" "%userprofile%\Videos"
move "%%d\*.mov" "%userprofile%\Videos"
move "%%d\*.mp4" "%userprofile%\Videos"
move "%%d\*.mpg" "%userprofile%\Videos"
move "%%d\*.qt" "%userprofile%\Videos"
move "%%d\*.rm" "%userprofile%\Videos"
move "%%d\*.swf" "%userprofile%\Videos"
move "%%d\*.vob" "%userprofile%\Videos"
move "%%d\*.wmv" "%userprofile%\Videos"
)
for /r "%userprofile%\Pictures" /d %%d in (*) do (
move "%%d\*.pdf" "%userprofile%\eBooks"
move "%%d\*.chm" "%userprofile%\eBooks"
move "%%d\*.doc" "%userprofile%\Documents"
move "%%d\*.docx" "%userprofile%\Documents"
move "%%d\*.log" "%userprofile%\Documents"
move "%%d\*.msg" "%userprofile%\Documents"
move "%%d\*.pages" "%userprofile%\Documents"
move "%%d\*.rtf" "%userprofile%\Documents"
move "%%d\*.txt" "%userprofile%\Documents"
move "%%d\*.wpd" "%userprofile%\Documents"
move "%%d\*.wps" "%userprofile%\Documents"
move "%%d\*.3dm" "%userprofile%\Pictures"
move "%%d\*.3dmf" "%userprofile%\Pictures"
move "%%d\*.ai" "%userprofile%\Pictures"
move "%%d\*.bmp" "%userprofile%\Pictures"
move "%%d\*.drw" "%userprofile%\Pictures"
move "%%d\*.dwg" "%userprofile%\Pictures"
move "%%d\*.dxf" "%userprofile%\Pictures"
move "%%d\*.eps" "%userprofile%\Pictures"
move "%%d\*.gif" "%userprofile%\Pictures"
move "%%d\*.ico" "%userprofile%\Pictures"
move "%%d\*.icon" "%userprofile%\Pictures"
move "%%d\*.indd" "%userprofile%\Pictures"
move "%%d\*.jpeg" "%userprofile%\Pictures"
move "%%d\*.jpg" "%userprofile%\Pictures"
move "%%d\*.pct" "%userprofile%\Pictures"
move "%%d\*.pln" "%userprofile%\Pictures"
move "%%d\*.ps" "%userprofile%\Pictures"
move "%%d\*.psd" "%userprofile%\Pictures"
move "%%d\*.psp" "%userprofile%\Pictures"
move "%%d\*.qxd" "%userprofile%\Pictures"
move "%%d\*.qxp" "%userprofile%\Pictures"
move "%%d\*.svg" "%userprofile%\Pictures"
move "%%d\*.thm" "%userprofile%\Pictures"
move "%%d\*.tif" "%userprofile%\Pictures"
move "%%d\*.aac" "%userprofile%\Music"
move "%%d\*.aif" "%userprofile%\Music"
move "%%d\*.iif" "%userprofile%\Music"
move "%%d\*.m3u" "%userprofile%\Music"
move "%%d\*.mid" "%userprofile%\Music"
move "%%d\*.midi" "%userprofile%\Music"
move "%%d\*.mp3" "%userprofile%\Music"
move "%%d\*.mpa" "%userprofile%\Music"
move "%%d\*.ra" "%userprofile%\Music"
move "%%d\*.wav" "%userprofile%\Music"
move "%%d\*.wma" "%userprofile%\Music"
move "%%d\*.m3u" "%userprofile%\Music"
move "%%d\*.3g2" "%userprofile%\Videos"
move "%%d\*.3gp" "%userprofile%\Videos"
move "%%d\*.asf" "%userprofile%\Videos"
move "%%d\*.asx" "%userprofile%\Videos"
move "%%d\*.avi" "%userprofile%\Videos"
move "%%d\*.flv" "%userprofile%\Videos"
move "%%d\*.mkv" "%userprofile%\Videos"
move "%%d\*.mov" "%userprofile%\Videos"
move "%%d\*.mp4" "%userprofile%\Videos"
move "%%d\*.mpg" "%userprofile%\Videos"
move "%%d\*.qt" "%userprofile%\Videos"
move "%%d\*.rm" "%userprofile%\Videos"
move "%%d\*.swf" "%userprofile%\Videos"
move "%%d\*.vob" "%userprofile%\Videos"
move "%%d\*.wmv" "%userprofile%\Videos"
)
for /r "%userprofile%\Music" /d %%d in (*) do (
move "%%d\*.pdf" "%userprofile%\eBooks"
move "%%d\*.chm" "%userprofile%\eBooks"
move "%%d\*.doc" "%userprofile%\Documents"
move "%%d\*.docx" "%userprofile%\Documents"
move "%%d\*.log" "%userprofile%\Documents"
move "%%d\*.msg" "%userprofile%\Documents"
move "%%d\*.pages" "%userprofile%\Documents"
move "%%d\*.rtf" "%userprofile%\Documents"
move "%%d\*.txt" "%userprofile%\Documents"
move "%%d\*.wpd" "%userprofile%\Documents"
move "%%d\*.wps" "%userprofile%\Documents"
move "%%d\*.3dm" "%userprofile%\Pictures"
move "%%d\*.3dmf" "%userprofile%\Pictures"
move "%%d\*.ai" "%userprofile%\Pictures"
move "%%d\*.bmp" "%userprofile%\Pictures"
move "%%d\*.drw" "%userprofile%\Pictures"
move "%%d\*.dwg" "%userprofile%\Pictures"
move "%%d\*.dxf" "%userprofile%\Pictures"
move "%%d\*.eps" "%userprofile%\Pictures"
move "%%d\*.gif" "%userprofile%\Pictures"
move "%%d\*.ico" "%userprofile%\Pictures"
move "%%d\*.icon" "%userprofile%\Pictures"
move "%%d\*.indd" "%userprofile%\Pictures"
move "%%d\*.jpeg" "%userprofile%\Pictures"
move "%%d\*.jpg" "%userprofile%\Pictures"
move "%%d\*.pct" "%userprofile%\Pictures"
move "%%d\*.pln" "%userprofile%\Pictures"
move "%%d\*.ps" "%userprofile%\Pictures"
move "%%d\*.psd" "%userprofile%\Pictures"
move "%%d\*.psp" "%userprofile%\Pictures"
move "%%d\*.qxd" "%userprofile%\Pictures"
move "%%d\*.qxp" "%userprofile%\Pictures"
move "%%d\*.svg" "%userprofile%\Pictures"
move "%%d\*.thm" "%userprofile%\Pictures"
move "%%d\*.tif" "%userprofile%\Pictures"
move "%%d\*.aac" "%userprofile%\Music"
move "%%d\*.aif" "%userprofile%\Music"
move "%%d\*.iif" "%userprofile%\Music"
move "%%d\*.m3u" "%userprofile%\Music"
move "%%d\*.mid" "%userprofile%\Music"
move "%%d\*.midi" "%userprofile%\Music"
move "%%d\*.mp3" "%userprofile%\Music"
move "%%d\*.mpa" "%userprofile%\Music"
move "%%d\*.ra" "%userprofile%\Music"
move "%%d\*.wav" "%userprofile%\Music"
move "%%d\*.wma" "%userprofile%\Music"
move "%%d\*.m3u" "%userprofile%\Music"
move "%%d\*.3g2" "%userprofile%\Videos"
move "%%d\*.3gp" "%userprofile%\Videos"
move "%%d\*.asf" "%userprofile%\Videos"
move "%%d\*.asx" "%userprofile%\Videos"
move "%%d\*.avi" "%userprofile%\Videos"
move "%%d\*.flv" "%userprofile%\Videos"
move "%%d\*.mkv" "%userprofile%\Videos"
move "%%d\*.mov" "%userprofile%\Videos"
move "%%d\*.mp4" "%userprofile%\Videos"
move "%%d\*.mpg" "%userprofile%\Videos"
move "%%d\*.qt" "%userprofile%\Videos"
move "%%d\*.rm" "%userprofile%\Videos"
move "%%d\*.swf" "%userprofile%\Videos"
move "%%d\*.vob" "%userprofile%\Videos"
move "%%d\*.wmv" "%userprofile%\Videos"
)
for /r "%userprofile%\Videos" /d %%d in (*) do (
move "%%d\*.pdf" "%userprofile%\eBooks"
move "%%d\*.chm" "%userprofile%\eBooks"
move "%%d\*.doc" "%userprofile%\Documents"
move "%%d\*.docx" "%userprofile%\Documents"
move "%%d\*.log" "%userprofile%\Documents"
move "%%d\*.msg" "%userprofile%\Documents"
move "%%d\*.pages" "%userprofile%\Documents"
move "%%d\*.rtf" "%userprofile%\Documents"
move "%%d\*.txt" "%userprofile%\Documents"
move "%%d\*.wpd" "%userprofile%\Documents"
move "%%d\*.wps" "%userprofile%\Documents"
move "%%d\*.3dm" "%userprofile%\Pictures"
move "%%d\*.3dmf" "%userprofile%\Pictures"
move "%%d\*.ai" "%userprofile%\Pictures"
move "%%d\*.bmp" "%userprofile%\Pictures"
move "%%d\*.drw" "%userprofile%\Pictures"
move "%%d\*.dwg" "%userprofile%\Pictures"
move "%%d\*.dxf" "%userprofile%\Pictures"
move "%%d\*.eps" "%userprofile%\Pictures"
move "%%d\*.gif" "%userprofile%\Pictures"
move "%%d\*.ico" "%userprofile%\Pictures"
move "%%d\*.icon" "%userprofile%\Pictures"
move "%%d\*.indd" "%userprofile%\Pictures"
move "%%d\*.jpeg" "%userprofile%\Pictures"
move "%%d\*.jpg" "%userprofile%\Pictures"
move "%%d\*.pct" "%userprofile%\Pictures"
move "%%d\*.pln" "%userprofile%\Pictures"
move "%%d\*.ps" "%userprofile%\Pictures"
move "%%d\*.psd" "%userprofile%\Pictures"
move "%%d\*.psp" "%userprofile%\Pictures"
move "%%d\*.qxd" "%userprofile%\Pictures"
move "%%d\*.qxp" "%userprofile%\Pictures"
move "%%d\*.svg" "%userprofile%\Pictures"
move "%%d\*.thm" "%userprofile%\Pictures"
move "%%d\*.tif" "%userprofile%\Pictures"
move "%%d\*.aac" "%userprofile%\Music"
move "%%d\*.aif" "%userprofile%\Music"
move "%%d\*.iif" "%userprofile%\Music"
move "%%d\*.m3u" "%userprofile%\Music"
move "%%d\*.mid" "%userprofile%\Music"
move "%%d\*.midi" "%userprofile%\Music"
move "%%d\*.mp3" "%userprofile%\Music"
move "%%d\*.mpa" "%userprofile%\Music"
move "%%d\*.ra" "%userprofile%\Music"
move "%%d\*.wav" "%userprofile%\Music"
move "%%d\*.wma" "%userprofile%\Music"
move "%%d\*.m3u" "%userprofile%\Music"
move "%%d\*.3g2" "%userprofile%\Videos"
move "%%d\*.3gp" "%userprofile%\Videos"
move "%%d\*.asf" "%userprofile%\Videos"
move "%%d\*.asx" "%userprofile%\Videos"
move "%%d\*.avi" "%userprofile%\Videos"
move "%%d\*.flv" "%userprofile%\Videos"
move "%%d\*.mkv" "%userprofile%\Videos"
move "%%d\*.mov" "%userprofile%\Videos"
move "%%d\*.mp4" "%userprofile%\Videos"
move "%%d\*.mpg" "%userprofile%\Videos"
move "%%d\*.qt" "%userprofile%\Videos"
move "%%d\*.rm" "%userprofile%\Videos"
move "%%d\*.swf" "%userprofile%\Videos"
move "%%d\*.vob" "%userprofile%\Videos"
move "%%d\*.wmv" "%userprofile%\Videos"
)
for /r "%userprofile%\Desktop" /d %%d in (*) do (
move "%%d\*.pdf" "%userprofile%\eBooks"
move "%%d\*.chm" "%userprofile%\eBooks"
move "%%d\*.doc" "%userprofile%\Documents"
move "%%d\*.docx" "%userprofile%\Documents"
move "%%d\*.log" "%userprofile%\Documents"
move "%%d\*.msg" "%userprofile%\Documents"
move "%%d\*.pages" "%userprofile%\Documents"
move "%%d\*.rtf" "%userprofile%\Documents"
move "%%d\*.txt" "%userprofile%\Documents"
move "%%d\*.wpd" "%userprofile%\Documents"
move "%%d\*.wps" "%userprofile%\Documents"
move "%%d\*.3dm" "%userprofile%\Pictures"
move "%%d\*.3dmf" "%userprofile%\Pictures"
move "%%d\*.ai" "%userprofile%\Pictures"
move "%%d\*.bmp" "%userprofile%\Pictures"
move "%%d\*.drw" "%userprofile%\Pictures"
move "%%d\*.dwg" "%userprofile%\Pictures"
move "%%d\*.dxf" "%userprofile%\Pictures"
move "%%d\*.eps" "%userprofile%\Pictures"
move "%%d\*.gif" "%userprofile%\Pictures"
move "%%d\*.ico" "%userprofile%\Pictures"
move "%%d\*.icon" "%userprofile%\Pictures"
move "%%d\*.indd" "%userprofile%\Pictures"
move "%%d\*.jpeg" "%userprofile%\Pictures"
move "%%d\*.jpg" "%userprofile%\Pictures"
move "%%d\*.pct" "%userprofile%\Pictures"
move "%%d\*.pln" "%userprofile%\Pictures"
move "%%d\*.ps" "%userprofile%\Pictures"
move "%%d\*.psd" "%userprofile%\Pictures"
move "%%d\*.psp" "%userprofile%\Pictures"
move "%%d\*.qxd" "%userprofile%\Pictures"
move "%%d\*.qxp" "%userprofile%\Pictures"
move "%%d\*.svg" "%userprofile%\Pictures"
move "%%d\*.thm" "%userprofile%\Pictures"
move "%%d\*.tif" "%userprofile%\Pictures"
move "%%d\*.aac" "%userprofile%\Music"
move "%%d\*.aif" "%userprofile%\Music"
move "%%d\*.iif" "%userprofile%\Music"
move "%%d\*.m3u" "%userprofile%\Music"
move "%%d\*.mid" "%userprofile%\Music"
move "%%d\*.midi" "%userprofile%\Music"
move "%%d\*.mp3" "%userprofile%\Music"
move "%%d\*.mpa" "%userprofile%\Music"
move "%%d\*.ra" "%userprofile%\Music"
move "%%d\*.wav" "%userprofile%\Music"
move "%%d\*.wma" "%userprofile%\Music"
move "%%d\*.m3u" "%userprofile%\Music"
move "%%d\*.3g2" "%userprofile%\Videos"
move "%%d\*.3gp" "%userprofile%\Videos"
move "%%d\*.asf" "%userprofile%\Videos"
move "%%d\*.asx" "%userprofile%\Videos"
move "%%d\*.avi" "%userprofile%\Videos"
move "%%d\*.flv" "%userprofile%\Videos"
move "%%d\*.mkv" "%userprofile%\Videos"
move "%%d\*.mov" "%userprofile%\Videos"
move "%%d\*.mp4" "%userprofile%\Videos"
move "%%d\*.mpg" "%userprofile%\Videos"
move "%%d\*.qt" "%userprofile%\Videos"
move "%%d\*.rm" "%userprofile%\Videos"
move "%%d\*.swf" "%userprofile%\Videos"
move "%%d\*.vob" "%userprofile%\Videos"
move "%%d\*.wmv" "%userprofile%\Videos"
)
exit
:XP
cd "%userprofile%"
if not exist "My Documents" md "My Documents"
if not exist "My Pictures" md "My Pictures"
if not exist "My Music" md "My Music"
if not exist "My Vidoes" md "My Videos"
if not exist "My eBooks" md "My eBooks"
cd "%userprofile%\My Documents"
move "*.pdf" "%userprofile%\My eBooks"
move "*.chm" "%userprofile%\My eBooks"
move "*.doc" "%userprofile%\My Documents"
move "*.docx" "%userprofile%\My Documents"
move "*.log" "%userprofile%\My Documents"
move "*.msg" "%userprofile%\My Documents"
move "*.pages" "%userprofile%\My Documents"
move "*.rtf" "%userprofile%\My Documents"
move "*.txt" "%userprofile%\My Documents"
move "*.wpd" "%userprofile%\My Documents"
move "*.wps" "%userprofile%\My Documents"
move "*.3dm" "%userprofile%\My Pictures"
move "*.3dmf" "%userprofile%\My Pictures"
move "*.ai" "%userprofile%\My Pictures"
move "*.bmp" "%userprofile%\My Pictures"
move "*.drw" "%userprofile%\My Pictures"
move "*.dwg" "%userprofile%\My Pictures"
move "*.dxf" "%userprofile%\My Pictures"
move "*.eps" "%userprofile%\My Pictures"
move "*.gif" "%userprofile%\My Pictures"
move "*.ico" "%userprofile%\My Pictures"
move "*.icon" "%userprofile%\My Pictures"
move "*.indd" "%userprofile%\My Pictures"
move "*.jpeg" "%userprofile%\My Pictures"
move "*.jpg" "%userprofile%\My Pictures"
move "*.pct" "%userprofile%\My Pictures"
move "*.pln" "%userprofile%\My Pictures"
move "*.ps" "%userprofile%\My Pictures"
move "*.psd" "%userprofile%\My Pictures"
move "*.psp" "%userprofile%\My Pictures"
move "*.qxd" "%userprofile%\My Pictures"
move "*.qxp" "%userprofile%\My Pictures"
move "*.svg" "%userprofile%\My Pictures"
move "*.thm" "%userprofile%\My Pictures"
move "*.tif" "%userprofile%\My Pictures"
move "*.aac" "%userprofile%\My Music"
move "*.aif" "%userprofile%\My Music"
move "*.iif" "%userprofile%\My Music"
move "*.m3u" "%userprofile%\My Music"
move "*.mid" "%userprofile%\My Music"
move "*.midi" "%userprofile%\My Music"
move "*.mp3" "%userprofile%\My Music"
move "*.mpa" "%userprofile%\My Music"
move "*.ra" "%userprofile%\My Music"
move "*.wav" "%userprofile%\My Music"
move "*.wma" "%userprofile%\My Music"
move "*.m3u" "%userprofile%\My Music"
move "*.3g2" "%userprofile%\My Videos"
move "*.3gp" "%userprofile%\My Videos"
move "*.asf" "%userprofile%\My Videos"
move "*.asx" "%userprofile%\My Videos"
move "*.avi" "%userprofile%\My Videos"
move "*.flv" "%userprofile%\My Videos"
move "*.mkv" "%userprofile%\My Videos"
move "*.mov" "%userprofile%\My Videos"
move "*.mp4" "%userprofile%\My Videos"
move "*.mpg" "%userprofile%\My Videos"
move "*.qt" "%userprofile%\My Videos"
move "*.rm" "%userprofile%\My Videos"
move "*.swf" "%userprofile%\My Videos"
move "*.vob" "%userprofile%\My Videos"
move "*.wmv" "%userprofile%\My Videos"
cd "%userprofile%\My Pictures"
move "*.pdf" "%userprofile%\My eBooks"
move "*.chm" "%userprofile%\My eBooks"
move "*.doc" "%userprofile%\My Documents"
move "*.docx" "%userprofile%\My Documents"
move "*.log" "%userprofile%\My Documents"
move "*.msg" "%userprofile%\My Documents"
move "*.pages" "%userprofile%\My Documents"
move "*.rtf" "%userprofile%\My Documents"
move "*.txt" "%userprofile%\My Documents"
move "*.wpd" "%userprofile%\My Documents"
move "*.wps" "%userprofile%\My Documents"
move "*.3dm" "%userprofile%\My Pictures"
move "*.3dmf" "%userprofile%\My Pictures"
move "*.ai" "%userprofile%\My Pictures"
move "*.bmp" "%userprofile%\My Pictures"
move "*.drw" "%userprofile%\My Pictures"
move "*.dwg" "%userprofile%\My Pictures"
move "*.dxf" "%userprofile%\My Pictures"
move "*.eps" "%userprofile%\My Pictures"
move "*.gif" "%userprofile%\My Pictures"
move "*.ico" "%userprofile%\My Pictures"
move "*.icon" "%userprofile%\My Pictures"
move "*.indd" "%userprofile%\My Pictures"
move "*.jpeg" "%userprofile%\My Pictures"
move "*.jpg" "%userprofile%\My Pictures"
move "*.pct" "%userprofile%\My Pictures"
move "*.pln" "%userprofile%\My Pictures"
move "*.ps" "%userprofile%\My Pictures"
move "*.psd" "%userprofile%\My Pictures"
move "*.psp" "%userprofile%\My Pictures"
move "*.qxd" "%userprofile%\My Pictures"
move "*.qxp" "%userprofile%\My Pictures"
move "*.svg" "%userprofile%\My Pictures"
move "*.thm" "%userprofile%\My Pictures"
move "*.tif" "%userprofile%\My Pictures"
move "*.aac" "%userprofile%\My Music"
move "*.aif" "%userprofile%\My Music"
move "*.iif" "%userprofile%\My Music"
move "*.m3u" "%userprofile%\My Music"
move "*.mid" "%userprofile%\My Music"
move "*.midi" "%userprofile%\My Music"
move "*.mp3" "%userprofile%\My Music"
move "*.mpa" "%userprofile%\My Music"
move "*.ra" "%userprofile%\My Music"
move "*.wav" "%userprofile%\My Music"
move "*.wma" "%userprofile%\My Music"
move "*.m3u" "%userprofile%\My Music"
move "*.3g2" "%userprofile%\My Videos"
move "*.3gp" "%userprofile%\My Videos"
move "*.asf" "%userprofile%\My Videos"
move "*.asx" "%userprofile%\My Videos"
move "*.avi" "%userprofile%\My Videos"
move "*.flv" "%userprofile%\My Videos"
move "*.mkv" "%userprofile%\My Videos"
move "*.mov" "%userprofile%\My Videos"
move "*.mp4" "%userprofile%\My Videos"
move "*.mpg" "%userprofile%\My Videos"
move "*.qt" "%userprofile%\My Videos"
move "*.rm" "%userprofile%\My Videos"
move "*.swf" "%userprofile%\My Videos"
move "*.vob" "%userprofile%\My Videos"
move "*.wmv" "%userprofile%\My Videos"
cd "%userprofile%\My Music"
move "*.pdf" "%userprofile%\My eBooks"
move "*.chm" "%userprofile%\My eBooks"
move "*.doc" "%userprofile%\My Documents"
move "*.docx" "%userprofile%\My Documents"
move "*.log" "%userprofile%\My Documents"
move "*.msg" "%userprofile%\My Documents"
move "*.pages" "%userprofile%\My Documents"
move "*.rtf" "%userprofile%\My Documents"
move "*.txt" "%userprofile%\My Documents"
move "*.wpd" "%userprofile%\My Documents"
move "*.wps" "%userprofile%\My Documents"
move "*.3dm" "%userprofile%\My Pictures"
move "*.3dmf" "%userprofile%\My Pictures"
move "*.ai" "%userprofile%\My Pictures"
move "*.bmp" "%userprofile%\My Pictures"
move "*.drw" "%userprofile%\My Pictures"
move "*.dwg" "%userprofile%\My Pictures"
move "*.dxf" "%userprofile%\My Pictures"
move "*.eps" "%userprofile%\My Pictures"
move "*.gif" "%userprofile%\My Pictures"
move "*.ico" "%userprofile%\My Pictures"
move "*.icon" "%userprofile%\My Pictures"
move "*.indd" "%userprofile%\My Pictures"
move "*.jpeg" "%userprofile%\My Pictures"
move "*.jpg" "%userprofile%\My Pictures"
move "*.pct" "%userprofile%\My Pictures"
move "*.pln" "%userprofile%\My Pictures"
move "*.ps" "%userprofile%\My Pictures"
move "*.psd" "%userprofile%\My Pictures"
move "*.psp" "%userprofile%\My Pictures"
move "*.qxd" "%userprofile%\My Pictures"
move "*.qxp" "%userprofile%\My Pictures"
move "*.svg" "%userprofile%\My Pictures"
move "*.thm" "%userprofile%\My Pictures"
move "*.tif" "%userprofile%\My Pictures"
move "*.aac" "%userprofile%\My Music"
move "*.aif" "%userprofile%\My Music"
move "*.iif" "%userprofile%\My Music"
move "*.m3u" "%userprofile%\My Music"
move "*.mid" "%userprofile%\My Music"
move "*.midi" "%userprofile%\My Music"
move "*.mp3" "%userprofile%\My Music"
move "*.mpa" "%userprofile%\My Music"
move "*.ra" "%userprofile%\My Music"
move "*.wav" "%userprofile%\My Music"
move "*.wma" "%userprofile%\My Music"
move "*.m3u" "%userprofile%\My Music"
move "*.3g2" "%userprofile%\My Videos"
move "*.3gp" "%userprofile%\My Videos"
move "*.asf" "%userprofile%\My Videos"
move "*.asx" "%userprofile%\My Videos"
move "*.avi" "%userprofile%\My Videos"
move "*.flv" "%userprofile%\My Videos"
move "*.mkv" "%userprofile%\My Videos"
move "*.mov" "%userprofile%\My Videos"
move "*.mp4" "%userprofile%\My Videos"
move "*.mpg" "%userprofile%\My Videos"
move "*.qt" "%userprofile%\My Videos"
move "*.rm" "%userprofile%\My Videos"
move "*.swf" "%userprofile%\My Videos"
move "*.vob" "%userprofile%\My Videos"
move "*.wmv" "%userprofile%\My Videos"
cd "%userprofile%\My Videos"
move "*.pdf" "%userprofile%\My eBooks"
move "*.chm" "%userprofile%\My eBooks"
move "*.doc" "%userprofile%\My Documents"
move "*.docx" "%userprofile%\My Documents"
move "*.log" "%userprofile%\My Documents"
move "*.msg" "%userprofile%\My Documents"
move "*.pages" "%userprofile%\My Documents"
move "*.rtf" "%userprofile%\My Documents"
move "*.txt" "%userprofile%\My Documents"
move "*.wpd" "%userprofile%\My Documents"
move "*.wps" "%userprofile%\My Documents"
move "*.3dm" "%userprofile%\My Pictures"
move "*.3dmf" "%userprofile%\My Pictures"
move "*.ai" "%userprofile%\My Pictures"
move "*.bmp" "%userprofile%\My Pictures"
move "*.drw" "%userprofile%\My Pictures"
move "*.dwg" "%userprofile%\My Pictures"
move "*.dxf" "%userprofile%\My Pictures"
move "*.eps" "%userprofile%\My Pictures"
move "*.gif" "%userprofile%\My Pictures"
move "*.ico" "%userprofile%\My Pictures"
move "*.icon" "%userprofile%\My Pictures"
move "*.indd" "%userprofile%\My Pictures"
move "*.jpeg" "%userprofile%\My Pictures"
move "*.jpg" "%userprofile%\My Pictures"
move "*.pct" "%userprofile%\My Pictures"
move "*.pln" "%userprofile%\My Pictures"
move "*.ps" "%userprofile%\My Pictures"
move "*.psd" "%userprofile%\My Pictures"
move "*.psp" "%userprofile%\My Pictures"
move "*.qxd" "%userprofile%\My Pictures"
move "*.qxp" "%userprofile%\My Pictures"
move "*.svg" "%userprofile%\My Pictures"
move "*.thm" "%userprofile%\My Pictures"
move "*.tif" "%userprofile%\My Pictures"
move "*.aac" "%userprofile%\My Music"
move "*.aif" "%userprofile%\My Music"
move "*.iif" "%userprofile%\My Music"
move "*.m3u" "%userprofile%\My Music"
move "*.mid" "%userprofile%\My Music"
move "*.midi" "%userprofile%\My Music"
move "*.mp3" "%userprofile%\My Music"
move "*.mpa" "%userprofile%\My Music"
move "*.ra" "%userprofile%\My Music"
move "*.wav" "%userprofile%\My Music"
move "*.wma" "%userprofile%\My Music"
move "*.m3u" "%userprofile%\My Music"
move "*.3g2" "%userprofile%\My Videos"
move "*.3gp" "%userprofile%\My Videos"
move "*.asf" "%userprofile%\My Videos"
move "*.asx" "%userprofile%\My Videos"
move "*.avi" "%userprofile%\My Videos"
move "*.flv" "%userprofile%\My Videos"
move "*.mkv" "%userprofile%\My Videos"
move "*.mov" "%userprofile%\My Videos"
move "*.mp4" "%userprofile%\My Videos"
move "*.mpg" "%userprofile%\My Videos"
move "*.qt" "%userprofile%\My Videos"
move "*.rm" "%userprofile%\My Videos"
move "*.swf" "%userprofile%\My Videos"
move "*.vob" "%userprofile%\My Videos"
move "*.wmv" "%userprofile%\My Videos"
cd "%userprofile%\Desktop"
move "*.pdf" "%userprofile%\My eBooks"
move "*.chm" "%userprofile%\My eBooks"
move "*.doc" "%userprofile%\My Documents"
move "*.docx" "%userprofile%\My Documents"
move "*.log" "%userprofile%\My Documents"
move "*.msg" "%userprofile%\My Documents"
move "*.pages" "%userprofile%\My Documents"
move "*.rtf" "%userprofile%\My Documents"
move "*.txt" "%userprofile%\My Documents"
move "*.wpd" "%userprofile%\My Documents"
move "*.wps" "%userprofile%\My Documents"
move "*.3dm" "%userprofile%\My Pictures"
move "*.3dmf" "%userprofile%\My Pictures"
move "*.ai" "%userprofile%\My Pictures"
move "*.bmp" "%userprofile%\My Pictures"
move "*.drw" "%userprofile%\My Pictures"
move "*.dwg" "%userprofile%\My Pictures"
move "*.dxf" "%userprofile%\My Pictures"
move "*.eps" "%userprofile%\My Pictures"
move "*.gif" "%userprofile%\My Pictures"
move "*.ico" "%userprofile%\My Pictures"
move "*.icon" "%userprofile%\My Pictures"
move "*.indd" "%userprofile%\My Pictures"
move "*.jpeg" "%userprofile%\My Pictures"
move "*.jpg" "%userprofile%\My Pictures"
move "*.pct" "%userprofile%\My Pictures"
move "*.pln" "%userprofile%\My Pictures"
move "*.ps" "%userprofile%\My Pictures"
move "*.psd" "%userprofile%\My Pictures"
move "*.psp" "%userprofile%\My Pictures"
move "*.qxd" "%userprofile%\My Pictures"
move "*.qxp" "%userprofile%\My Pictures"
move "*.svg" "%userprofile%\My Pictures"
move "*.thm" "%userprofile%\My Pictures"
move "*.tif" "%userprofile%\My Pictures"
move "*.aac" "%userprofile%\My Music"
move "*.aif" "%userprofile%\My Music"
move "*.iif" "%userprofile%\My Music"
move "*.m3u" "%userprofile%\My Music"
move "*.mid" "%userprofile%\My Music"
move "*.midi" "%userprofile%\My Music"
move "*.mp3" "%userprofile%\My Music"
move "*.mpa" "%userprofile%\My Music"
move "*.ra" "%userprofile%\My Music"
move "*.wav" "%userprofile%\My Music"
move "*.wma" "%userprofile%\My Music"
move "*.m3u" "%userprofile%\My Music"
move "*.3g2" "%userprofile%\My Videos"
move "*.3gp" "%userprofile%\My Videos"
move "*.asf" "%userprofile%\My Videos"
move "*.asx" "%userprofile%\My Videos"
move "*.avi" "%userprofile%\My Videos"
move "*.flv" "%userprofile%\My Videos"
move "*.mkv" "%userprofile%\My Videos"
move "*.mov" "%userprofile%\My Videos"
move "*.mp4" "%userprofile%\My Videos"
move "*.mpg" "%userprofile%\My Videos"
move "*.qt" "%userprofile%\My Videos"
move "*.rm" "%userprofile%\My Videos"
move "*.swf" "%userprofile%\My Videos"
move "*.vob" "%userprofile%\My Videos"
move "*.wmv" "%userprofile%\My Videos"
for /r "%userprofile%\My Documents" /d %%d in (*) do (
move "%%d\*.pdf" "%userprofile%\My eBooks"
move "%%d\*.chm" "%userprofile%\My eBooks"
move "%%d\*.doc" "%userprofile%\My Documents"
move "%%d\*.docx" "%userprofile%\My Documents"
move "%%d\*.log" "%userprofile%\My Documents"
move "%%d\*.msg" "%userprofile%\My Documents"
move "%%d\*.pages" "%userprofile%\My Documents"
move "%%d\*.rtf" "%userprofile%\My Documents"
move "%%d\*.txt" "%userprofile%\My Documents"
move "%%d\*.wpd" "%userprofile%\My Documents"
move "%%d\*.wps" "%userprofile%\My Documents"
move "%%d\*.3dm" "%userprofile%\My Pictures"
move "%%d\*.3dmf" "%userprofile%\My Pictures"
move "%%d\*.ai" "%userprofile%\My Pictures"
move "%%d\*.bmp" "%userprofile%\My Pictures"
move "%%d\*.drw" "%userprofile%\My Pictures"
move "%%d\*.dwg" "%userprofile%\My Pictures"
move "%%d\*.dxf" "%userprofile%\My Pictures"
move "%%d\*.eps" "%userprofile%\My Pictures"
move "%%d\*.gif" "%userprofile%\My Pictures"
move "%%d\*.ico" "%userprofile%\My Pictures"
move "%%d\*.icon" "%userprofile%\My Pictures"
move "%%d\*.indd" "%userprofile%\My Pictures"
move "%%d\*.jpeg" "%userprofile%\My Pictures"
move "%%d\*.jpg" "%userprofile%\My Pictures"
move "%%d\*.pct" "%userprofile%\My Pictures"
move "%%d\*.pln" "%userprofile%\My Pictures"
move "%%d\*.ps" "%userprofile%\My Pictures"
move "%%d\*.psd" "%userprofile%\My Pictures"
move "%%d\*.psp" "%userprofile%\My Pictures"
move "%%d\*.qxd" "%userprofile%\My Pictures"
move "%%d\*.qxp" "%userprofile%\My Pictures"
move "%%d\*.svg" "%userprofile%\My Pictures"
move "%%d\*.thm" "%userprofile%\My Pictures"
move "%%d\*.tif" "%userprofile%\My Pictures"
move "%%d\*.aac" "%userprofile%\My Music"
move "%%d\*.aif" "%userprofile%\My Music"
move "%%d\*.iif" "%userprofile%\My Music"
move "%%d\*.m3u" "%userprofile%\My Music"
move "%%d\*.mid" "%userprofile%\My Music"
move "%%d\*.midi" "%userprofile%\My Music"
move "%%d\*.mp3" "%userprofile%\My Music"
move "%%d\*.mpa" "%userprofile%\My Music"
move "%%d\*.ra" "%userprofile%\My Music"
move "%%d\*.wav" "%userprofile%\My Music"
move "%%d\*.wma" "%userprofile%\My Music"
move "%%d\*.m3u" "%userprofile%\My Music"
move "%%d\*.3g2" "%userprofile%\My Videos"
move "%%d\*.3gp" "%userprofile%\My Videos"
move "%%d\*.asf" "%userprofile%\My Videos"
move "%%d\*.asx" "%userprofile%\My Videos"
move "%%d\*.avi" "%userprofile%\My Videos"
move "%%d\*.flv" "%userprofile%\My Videos"
move "%%d\*.mkv" "%userprofile%\My Videos"
move "%%d\*.mov" "%userprofile%\My Videos"
move "%%d\*.mp4" "%userprofile%\My Videos"
move "%%d\*.mpg" "%userprofile%\My Videos"
move "%%d\*.qt" "%userprofile%\My Videos"
move "%%d\*.rm" "%userprofile%\My Videos"
move "%%d\*.swf" "%userprofile%\My Videos"
move "%%d\*.vob" "%userprofile%\My Videos"
move "%%d\*.wmv" "%userprofile%\My Videos"
)
for /r "%userprofile%\My Pictures" /d %%d in (*) do (
move "%%d\*.pdf" "%userprofile%\My eBooks"
move "%%d\*.chm" "%userprofile%\My eBooks"
move "%%d\*.doc" "%userprofile%\My Documents"
move "%%d\*.docx" "%userprofile%\My Documents"
move "%%d\*.log" "%userprofile%\My Documents"
move "%%d\*.msg" "%userprofile%\My Documents"
move "%%d\*.pages" "%userprofile%\My Documents"
move "%%d\*.rtf" "%userprofile%\My Documents"
move "%%d\*.txt" "%userprofile%\My Documents"
move "%%d\*.wpd" "%userprofile%\My Documents"
move "%%d\*.wps" "%userprofile%\My Documents"
move "%%d\*.3dm" "%userprofile%\My Pictures"
move "%%d\*.3dmf" "%userprofile%\My Pictures"
move "%%d\*.ai" "%userprofile%\My Pictures"
move "%%d\*.bmp" "%userprofile%\My Pictures"
move "%%d\*.drw" "%userprofile%\My Pictures"
move "%%d\*.dwg" "%userprofile%\My Pictures"
move "%%d\*.dxf" "%userprofile%\My Pictures"
move "%%d\*.eps" "%userprofile%\My Pictures"
move "%%d\*.gif" "%userprofile%\My Pictures"
move "%%d\*.ico" "%userprofile%\My Pictures"
move "%%d\*.icon" "%userprofile%\My Pictures"
move "%%d\*.indd" "%userprofile%\My Pictures"
move "%%d\*.jpeg" "%userprofile%\My Pictures"
move "%%d\*.jpg" "%userprofile%\My Pictures"
move "%%d\*.pct" "%userprofile%\My Pictures"
move "%%d\*.pln" "%userprofile%\My Pictures"
move "%%d\*.ps" "%userprofile%\My Pictures"
move "%%d\*.psd" "%userprofile%\My Pictures"
move "%%d\*.psp" "%userprofile%\My Pictures"
move "%%d\*.qxd" "%userprofile%\My Pictures"
move "%%d\*.qxp" "%userprofile%\My Pictures"
move "%%d\*.svg" "%userprofile%\My Pictures"
move "%%d\*.thm" "%userprofile%\My Pictures"
move "%%d\*.tif" "%userprofile%\My Pictures"
move "%%d\*.aac" "%userprofile%\My Music"
move "%%d\*.aif" "%userprofile%\My Music"
move "%%d\*.iif" "%userprofile%\My Music"
move "%%d\*.m3u" "%userprofile%\My Music"
move "%%d\*.mid" "%userprofile%\My Music"
move "%%d\*.midi" "%userprofile%\My Music"
move "%%d\*.mp3" "%userprofile%\My Music"
move "%%d\*.mpa" "%userprofile%\My Music"
move "%%d\*.ra" "%userprofile%\My Music"
move "%%d\*.wav" "%userprofile%\My Music"
move "%%d\*.wma" "%userprofile%\My Music"
move "%%d\*.m3u" "%userprofile%\My Music"
move "%%d\*.3g2" "%userprofile%\My Videos"
move "%%d\*.3gp" "%userprofile%\My Videos"
move "%%d\*.asf" "%userprofile%\My Videos"
move "%%d\*.asx" "%userprofile%\My Videos"
move "%%d\*.avi" "%userprofile%\My Videos"
move "%%d\*.flv" "%userprofile%\My Videos"
move "%%d\*.mkv" "%userprofile%\My Videos"
move "%%d\*.mov" "%userprofile%\My Videos"
move "%%d\*.mp4" "%userprofile%\My Videos"
move "%%d\*.mpg" "%userprofile%\My Videos"
move "%%d\*.qt" "%userprofile%\My Videos"
move "%%d\*.rm" "%userprofile%\My Videos"
move "%%d\*.swf" "%userprofile%\My Videos"
move "%%d\*.vob" "%userprofile%\My Videos"
move "%%d\*.wmv" "%userprofile%\My Videos"
)
for /r "%userprofile%\My Music" /d %%d in (*) do (
move "%%d\*.pdf" "%userprofile%\My eBooks"
move "%%d\*.chm" "%userprofile%\My eBooks"
move "%%d\*.doc" "%userprofile%\My Documents"
move "%%d\*.docx" "%userprofile%\My Documents"
move "%%d\*.log" "%userprofile%\My Documents"
move "%%d\*.msg" "%userprofile%\My Documents"
move "%%d\*.pages" "%userprofile%\My Documents"
move "%%d\*.rtf" "%userprofile%\My Documents"
move "%%d\*.txt" "%userprofile%\My Documents"
move "%%d\*.wpd" "%userprofile%\My Documents"
move "%%d\*.wps" "%userprofile%\My Documents"
move "%%d\*.3dm" "%userprofile%\My Pictures"
move "%%d\*.3dmf" "%userprofile%\My Pictures"
move "%%d\*.ai" "%userprofile%\My Pictures"
move "%%d\*.bmp" "%userprofile%\My Pictures"
move "%%d\*.drw" "%userprofile%\My Pictures"
move "%%d\*.dwg" "%userprofile%\My Pictures"
move "%%d\*.dxf" "%userprofile%\My Pictures"
move "%%d\*.eps" "%userprofile%\My Pictures"
move "%%d\*.gif" "%userprofile%\My Pictures"
move "%%d\*.ico" "%userprofile%\My Pictures"
move "%%d\*.icon" "%userprofile%\My Pictures"
move "%%d\*.indd" "%userprofile%\My Pictures"
move "%%d\*.jpeg" "%userprofile%\My Pictures"
move "%%d\*.jpg" "%userprofile%\My Pictures"
move "%%d\*.pct" "%userprofile%\My Pictures"
move "%%d\*.pln" "%userprofile%\My Pictures"
move "%%d\*.ps" "%userprofile%\My Pictures"
move "%%d\*.psd" "%userprofile%\My Pictures"
move "%%d\*.psp" "%userprofile%\My Pictures"
move "%%d\*.qxd" "%userprofile%\My Pictures"
move "%%d\*.qxp" "%userprofile%\My Pictures"
move "%%d\*.svg" "%userprofile%\My Pictures"
move "%%d\*.thm" "%userprofile%\My Pictures"
move "%%d\*.tif" "%userprofile%\My Pictures"
move "%%d\*.aac" "%userprofile%\My Music"
move "%%d\*.aif" "%userprofile%\My Music"
move "%%d\*.iif" "%userprofile%\My Music"
move "%%d\*.m3u" "%userprofile%\My Music"
move "%%d\*.mid" "%userprofile%\My Music"
move "%%d\*.midi" "%userprofile%\My Music"
move "%%d\*.mp3" "%userprofile%\My Music"
move "%%d\*.mpa" "%userprofile%\My Music"
move "%%d\*.ra" "%userprofile%\My Music"
move "%%d\*.wav" "%userprofile%\My Music"
move "%%d\*.wma" "%userprofile%\My Music"
move "%%d\*.m3u" "%userprofile%\My Music"
move "%%d\*.3g2" "%userprofile%\My Videos"
move "%%d\*.3gp" "%userprofile%\My Videos"
move "%%d\*.asf" "%userprofile%\My Videos"
move "%%d\*.asx" "%userprofile%\My Videos"
move "%%d\*.avi" "%userprofile%\My Videos"
move "%%d\*.flv" "%userprofile%\My Videos"
move "%%d\*.mkv" "%userprofile%\My Videos"
move "%%d\*.mov" "%userprofile%\My Videos"
move "%%d\*.mp4" "%userprofile%\My Videos"
move "%%d\*.mpg" "%userprofile%\My Videos"
move "%%d\*.qt" "%userprofile%\My Videos"
move "%%d\*.rm" "%userprofile%\My Videos"
move "%%d\*.swf" "%userprofile%\My Videos"
move "%%d\*.vob" "%userprofile%\My Videos"
move "%%d\*.wmv" "%userprofile%\My Videos"
)
for /r "%userprofile%\My Videos" /d %%d in (*) do (
move "%%d\*.pdf" "%userprofile%\My eBooks"
move "%%d\*.chm" "%userprofile%\My eBooks"
move "%%d\*.doc" "%userprofile%\My Documents"
move "%%d\*.docx" "%userprofile%\My Documents"
move "%%d\*.log" "%userprofile%\My Documents"
move "%%d\*.msg" "%userprofile%\My Documents"
move "%%d\*.pages" "%userprofile%\My Documents"
move "%%d\*.rtf" "%userprofile%\My Documents"
move "%%d\*.txt" "%userprofile%\My Documents"
move "%%d\*.wpd" "%userprofile%\My Documents"
move "%%d\*.wps" "%userprofile%\My Documents"
move "%%d\*.3dm" "%userprofile%\My Pictures"
move "%%d\*.3dmf" "%userprofile%\My Pictures"
move "%%d\*.ai" "%userprofile%\My Pictures"
move "%%d\*.bmp" "%userprofile%\My Pictures"
move "%%d\*.drw" "%userprofile%\My Pictures"
move "%%d\*.dwg" "%userprofile%\My Pictures"
move "%%d\*.dxf" "%userprofile%\My Pictures"
move "%%d\*.eps" "%userprofile%\My Pictures"
move "%%d\*.gif" "%userprofile%\My Pictures"
move "%%d\*.ico" "%userprofile%\My Pictures"
move "%%d\*.icon" "%userprofile%\My Pictures"
move "%%d\*.indd" "%userprofile%\My Pictures"
move "%%d\*.jpeg" "%userprofile%\My Pictures"
move "%%d\*.jpg" "%userprofile%\My Pictures"
move "%%d\*.pct" "%userprofile%\My Pictures"
move "%%d\*.pln" "%userprofile%\My Pictures"
move "%%d\*.ps" "%userprofile%\My Pictures"
move "%%d\*.psd" "%userprofile%\My Pictures"
move "%%d\*.psp" "%userprofile%\My Pictures"
move "%%d\*.qxd" "%userprofile%\My Pictures"
move "%%d\*.qxp" "%userprofile%\My Pictures"
move "%%d\*.svg" "%userprofile%\My Pictures"
move "%%d\*.thm" "%userprofile%\My Pictures"
move "%%d\*.tif" "%userprofile%\My Pictures"
move "%%d\*.aac" "%userprofile%\My Music"
move "%%d\*.aif" "%userprofile%\My Music"
move "%%d\*.iif" "%userprofile%\My Music"
move "%%d\*.m3u" "%userprofile%\My Music"
move "%%d\*.mid" "%userprofile%\My Music"
move "%%d\*.midi" "%userprofile%\My Music"
move "%%d\*.mp3" "%userprofile%\My Music"
move "%%d\*.mpa" "%userprofile%\My Music"
move "%%d\*.ra" "%userprofile%\My Music"
move "%%d\*.wav" "%userprofile%\My Music"
move "%%d\*.wma" "%userprofile%\My Music"
move "%%d\*.m3u" "%userprofile%\My Music"
move "%%d\*.3g2" "%userprofile%\My Videos"
move "%%d\*.3gp" "%userprofile%\My Videos"
move "%%d\*.asf" "%userprofile%\My Videos"
move "%%d\*.asx" "%userprofile%\My Videos"
move "%%d\*.avi" "%userprofile%\My Videos"
move "%%d\*.flv" "%userprofile%\My Videos"
move "%%d\*.mkv" "%userprofile%\My Videos"
move "%%d\*.mov" "%userprofile%\My Videos"
move "%%d\*.mp4" "%userprofile%\My Videos"
move "%%d\*.mpg" "%userprofile%\My Videos"
move "%%d\*.qt" "%userprofile%\My Videos"
move "%%d\*.rm" "%userprofile%\My Videos"
move "%%d\*.swf" "%userprofile%\My Videos"
move "%%d\*.vob" "%userprofile%\My Videos"
move "%%d\*.wmv" "%userprofile%\My Videos"
)
for /r "%userprofile%\Desktop" /d %%d in (*) do (
move "%%d\*.pdf" "%userprofile%\My eBooks"
move "%%d\*.chm" "%userprofile%\My eBooks"
move "%%d\*.doc" "%userprofile%\My Documents"
move "%%d\*.docx" "%userprofile%\My Documents"
move "%%d\*.log" "%userprofile%\My Documents"
move "%%d\*.msg" "%userprofile%\My Documents"
move "%%d\*.pages" "%userprofile%\My Documents"
move "%%d\*.rtf" "%userprofile%\My Documents"
move "%%d\*.txt" "%userprofile%\My Documents"
move "%%d\*.wpd" "%userprofile%\My Documents"
move "%%d\*.wps" "%userprofile%\My Documents"
move "%%d\*.3dm" "%userprofile%\My Pictures"
move "%%d\*.3dmf" "%userprofile%\My Pictures"
move "%%d\*.ai" "%userprofile%\My Pictures"
move "%%d\*.bmp" "%userprofile%\My Pictures"
move "%%d\*.drw" "%userprofile%\My Pictures"
move "%%d\*.dwg" "%userprofile%\My Pictures"
move "%%d\*.dxf" "%userprofile%\My Pictures"
move "%%d\*.eps" "%userprofile%\My Pictures"
move "%%d\*.gif" "%userprofile%\My Pictures"
move "%%d\*.ico" "%userprofile%\My Pictures"
move "%%d\*.icon" "%userprofile%\My Pictures"
move "%%d\*.indd" "%userprofile%\My Pictures"
move "%%d\*.jpeg" "%userprofile%\My Pictures"
move "%%d\*.jpg" "%userprofile%\My Pictures"
move "%%d\*.pct" "%userprofile%\My Pictures"
move "%%d\*.pln" "%userprofile%\My Pictures"
move "%%d\*.ps" "%userprofile%\My Pictures"
move "%%d\*.psd" "%userprofile%\My Pictures"
move "%%d\*.psp" "%userprofile%\My Pictures"
move "%%d\*.qxd" "%userprofile%\My Pictures"
move "%%d\*.qxp" "%userprofile%\My Pictures"
move "%%d\*.svg" "%userprofile%\My Pictures"
move "%%d\*.thm" "%userprofile%\My Pictures"
move "%%d\*.tif" "%userprofile%\My Pictures"
move "%%d\*.aac" "%userprofile%\My Music"
move "%%d\*.aif" "%userprofile%\My Music"
move "%%d\*.iif" "%userprofile%\My Music"
move "%%d\*.m3u" "%userprofile%\My Music"
move "%%d\*.mid" "%userprofile%\My Music"
move "%%d\*.midi" "%userprofile%\My Music"
move "%%d\*.mp3" "%userprofile%\My Music"
move "%%d\*.mpa" "%userprofile%\My Music"
move "%%d\*.ra" "%userprofile%\My Music"
move "%%d\*.wav" "%userprofile%\My Music"
move "%%d\*.wma" "%userprofile%\My Music"
move "%%d\*.m3u" "%userprofile%\My Music"
move "%%d\*.3g2" "%userprofile%\My Videos"
move "%%d\*.3gp" "%userprofile%\My Videos"
move "%%d\*.asf" "%userprofile%\My Videos"
move "%%d\*.asx" "%userprofile%\My Videos"
move "%%d\*.avi" "%userprofile%\My Videos"
move "%%d\*.flv" "%userprofile%\My Videos"
move "%%d\*.mkv" "%userprofile%\My Videos"
move "%%d\*.mov" "%userprofile%\My Videos"
move "%%d\*.mp4" "%userprofile%\My Videos"
move "%%d\*.mpg" "%userprofile%\My Videos"
move "%%d\*.qt" "%userprofile%\My Videos"
move "%%d\*.rm" "%userprofile%\My Videos"
move "%%d\*.swf" "%userprofile%\My Videos"
move "%%d\*.vob" "%userprofile%\My Videos"
move "%%d\*.wmv" "%userprofile%\My Videos"
)
exit
:error
cls
echo.
echo It appears that you are not running Windows Vista or Windows XP.
echo This file only works on these two OS versions.
echo If that's not true, then make sure the path of your account is:
echo C:\Users\%username% or C:\Documents and Settings\%username%.
echo.
pause
exit

One thought on “File Organizer

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: