Created
November 29, 2015 17:36
-
-
Save Arty2/eda84152d4b73c6b99e3 to your computer and use it in GitHub Desktop.
Cleanup autogenerated backup files from architecture related software.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
setlocal | |
:PROMPT | |
SET /P CONFIRM=Do you want to delete all ^ | |
Sketchup : .skb, AutoSave_, Backup*.layout ^ | |
AutoCAD : .bak, .dwl, .dwl2, .log, .err ^ | |
Photoshop : .tmp ^ | |
Studio Max : .3dmbak ^ | |
Chrome : .crdownload ^ | |
files in this directory branch? ^ | |
(Y/[N])? | |
IF /I "%CONFIRM%" NEQ "Y" GOTO END | |
del /S *.skb | |
del /S AutoSave_* | |
del /S Backup*.layout | |
del /S *.3dmbak | |
del /S *.bak | |
del /S *.tmp | |
del /S *.dwl | |
del /S *.dwl2 | |
del /S *.log | |
del /S *.err | |
del /S *.crdownload | |
REM ← This is a comment line. | |
:END | |
timeout /T 5 | |
endlocal |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment