Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @echo off
- set dir="c:\Backup-upload\"
- for /R %dir% %%f in (*.7z *.gpg) do (
- del %%f )
- pause
- exit
- What it does : This batch deletes all .7z and all .gpg (GNU PG) files in a folder using a
- for-loop. Instead of 7z and gpg other file formats can be put there.
Advertisement
Add Comment
Please, Sign In to add comment