Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- REM #How to use it:
- REM #To start the program, you have to save it as a bat file.
- REM #save it to another folder on the best(NOT YOUR DESKTOP!), because otherwise the program classifies itself
- REM --
- REM (c) Copyright 2013 - BatchHacker
- @echo off
- color 0c
- :frame1
- cls & set ver=1.1 & title Desktop Cleaner [Files] Version: %ver% & echo [X] Clean Now & echo [ ] Credits & echo [ ] Exit & echo. & echo With the W button you can scroll up. & echo With the S button you can scroll down. & echo You can start the selection while pressing X & echo.
- choice /n /C:wsx
- if errorlevel 1 if not errorlevel 2 goto frame3
- if errorlevel 2 if not errorlevel 3 goto frame2
- if errorlevel 3 if not errorlevel 4 goto clean
- :frame2
- cls & echo [ ] Clean Now & echo [X] Credits & echo [ ] Exit & echo. & echo With the W button you can scroll up. & echo With the S button you can scroll down. & echo You can start the selection while pressing X & echo.
- echo.
- choice /n /C:wsx
- if errorlevel 1 if not errorlevel 2 goto frame1
- if errorlevel 2 if not errorlevel 3 goto frame3
- if errorlevel 3 if not errorlevel 4 goto Credits
- :frame3
- cls & echo [ ] Clean Now & echo [ ] Credits & echo [X] Exit & echo. & echo With the W button you can scroll up. & echo With the S button you can scroll down. & echo You can start the selection while pressing X & echo.
- echo.
- choice /n /C:wsx
- if errorlevel 1 if not errorlevel 2 goto frame2
- if errorlevel 2 if not errorlevel 3 goto frame1
- if errorlevel 3 if not errorlevel 4 goto exit
- :clean
- cls & cd %userprofile%\Desktop
- if not exist "Musik & Videos" md "Musik & Videos"
- if exist "*.mp3" move /Y "*.mp3" "Musik & Videos"
- if exist "*.mp4" move /Y "*.mp4" "Musik & Videos"
- if exist "*.amf" move /Y "*.amf" "Musik & Videos"
- if exist "*.ams" move /Y "*.ams" "Musik & Videos"
- if exist "*.acm" move /Y "*.acm" "Musik & Videos"
- if exist "*.aif" move /Y "*.aif" "Musik & Videos"
- if exist "*.aiff" move /Y "*.aiff" "Musik & Videos"
- if exist "*.au" move /Y "*.au" "Musik & Videos"
- if exist "*.aa" move /Y "*.aa" "Musik & Videos"
- if exist "*.aac" move /Y "*.aac" "Musik & Videos"
- if exist "*.fla" move /Y "*.fla" "Musik & Videos"
- if exist "*.flac" move /Y "*.flac" "Musik & Videos"
- if exist "*.kar" move /Y "*.kar" "Musik & Videos"
- if exist "*.mid" move /Y "*.mid" "Musik & Videos"
- if exist "*.midi" move /Y "*.midi" "Musik & Videos"
- if exist "*.ogg" move /Y "*.ogg" "Musik & Videos"
- if exist "*.oga" move /Y "*.oga" "Musik & Videos"
- if exist "*.ogv" move /Y "*.ogv" "Musik & Videos"
- if exist "*.ts" move /Y "*.ts" "Musik & Videos"
- if exist "*.flv" move /Y "*.flv" "Musik & Videos"
- if exist "*.wmv" move /Y "*.wmv" "Musik & Videos"
- if exist "*.mpg" move /Y "*.mpg" "Musik & Videos"
- if exist "*.mpeg" move /Y "*.mpeg" "Musik & Videos"
- if exist "*.avi" move /Y "*.avi" "Musik & Videos"
- if exist "*.3gp" move /Y "*.3gp" "Musik & Videos"
- if exist "*.mov" move /Y "*.mov" "Musik & Videos"
- if exist "*.rm" move /Y "*.rm" "Musik & Videos"
- if not exist "Spiele & Anwendungen" md "Spiele & Anwendungen"
- if exist "*.exe" move /Y "*.exe" "Spiele & Anwendungen"
- if not exist "Scripts" if exist "*.bat" md Scripts
- if not exist "Scripts" if exist "*.cmd" md Scripts
- if not exist "Scripts" if exist "*.ahk" md Scripts
- if not exist "Scripts" if exist "*.vbs" md Scripts
- if exist "*.bat" move /Y "*.bat" "Scripts"
- if exist "*.cmd" move /Y "*.cmd" "Scripts"
- if exist "*.ahk" move /Y "*.ahk" "Scripts"
- if exist "*.vbs" move /Y "*.vbs" "Scripts"
- if not exist "Bilder" md "Bilder"
- if exist "*.png" move /Y "*.png" "Bilder"
- if exist "*.ami" move /Y "*.ami" "Bilder"
- if exist "*.apx" move /Y "*.apx" "Bilder"
- if exist "*.bmp" move /Y "*.bmp" "Bilder"
- if exist "*.bw" move /Y "*.bw" "Bilder"
- if exist "*.cur" move /Y "*.cur" "Bilder"
- if exist "*.gif" move /Y "*.gif" "Bilder"
- if exist "*.jpg" move /Y "*.jpg" "Bilder"
- if exist "*.jpeg" move /Y "*.jpeg" "Bilder"
- if exist "*.jng" move /Y "*.jng" "Bilder"
- if exist "*.koa" move /Y "*.koa" "Bilder"
- if exist "*.msp" move /Y "*.msp" "Bilder"
- if exist "*.pic" move /Y "*.pic" "Bilder"
- if exist "*.rgb" move /Y "*.rgb" "Bilder"
- if exist "*.rgba" move /Y "*.rgba" "Bilder"
- if exist "*.sgi" move /Y "*.sgi" "Bilder"
- if exist "*.xcf" move /Y "*.xcf" "Bilder"
- if exist "*.png" move /Y "*.png" "Bilder"
- if exist "*.png" move /Y "*.png" "Bilder"
- if exist "*.png" move /Y "*.png" "Bilder"
- if not exist "Photoshop" if exist "*.psd" md Photoshop
- if exist "*.psd" move /Y "*.psd" "Photoshop"
- if not exist "Dokumente" md "Dokumente"
- if exist "*.odt" move /Y "*.odt" "Dokumente"
- if exist "*.ott" move /Y "*.ott" "Dokumente"
- if exist "*.sxw" move /Y "*.sxw" "Dokumente"
- if exist "*.stw" move /Y "*.stw" "Dokumente"
- if exist "*.doc" move /Y "*.doc" "Dokumente"
- if exist "*.rtf" move /Y "*.rtf" "Dokumente"
- if exist "*.txt" move /Y "*.txt" "Dokumente"
- if exist "*.html" move /Y "*.html" "Dokumente"
- if exist "*.xml" move /Y "*.xml" "Dokumente"
- if not exist "Archive" if exist "*.zip" md Archive
- if not exist "Archive" if exist "*.rar" md Archive
- if exist "*.zip" move /Y "*.zip" "Archive"
- if exist "*.rar" move /Y "*.rar" "Archive"
- if not exist "Java" if exist "*.java" md Java
- if not exist "Java" if exist "*.class" md Java
- if not exist "Java" if exist "*.jar" md Java
- if exist "*.java" move /Y "*.java" "Java"
- if exist "*.class" move /Y "*.class" "Java"
- if exist "*.jar" move /Y "*.jar" "Java"
- if not exist "Andere Dateien" md "Andere Dateien"
- move /Y "*.*" "Andere Dateien"
- cls
- echo I think your desktop is now clean!
- echo.
- echo You may refresh it to see the results.
- echo.
- echo Press any key to continue
- echo.
- timeout /t 10>>nul
- goto frame1
- :Credits
- cls
- echo Programm Developed by: & echo. & echo Alex Ehnes (www.fb.com/kuchennn) & echo. & echo We accept no liability for data losses. & echo. & echo Copyright (c) 2013 Alex Ehnes & echo. & echo To Update the File visit: pastebin.com/AdVsmxbv & echo. & echo Press any key to continue & timeout /t 10 >>nul & goto frame2
- :exit
- cls
- Exit
Advertisement
Add Comment
Please, Sign In to add comment