Last active
July 17, 2017 11:22
-
-
Save dertajora/009053c93a1702e5cf1912345d64759c to your computer and use it in GitHub Desktop.
Batch File I have Played with. Close all opened specified program. Delete temporary file with specific file
This file contains hidden or 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
rem Close all cmd.exe | |
taskkill /F /IM cmd.exe /T | |
rem Delete temporary folder that contain "scope" in its name | |
FOR /D /R %dir% %%X IN (scope*) DO RMDIR /S /Q "%%X" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment