|
Wednesday, July 05, 2006 By: Matthew Doucette (printer friendly version) WinRAR is a file compressor / archiver great for backing up data. Download WinRAR at rarlab.com/download.htm.
WinRAR Tip #3: Delete Multiple Files out of Multiple RAR Files: Use one of these convenient batch files: Windows version WinRAR batch file:
REM Windows Version Command line version WinRAR batch file:
REM Command Line Version They delete all *.exe, *.txt, and *.rar files out of every RAR file in the same folder as the batch file, including those password protected with "YOURPASSWORD" as the password. (Security tip: Do not use "YOURPASSWORD" as your password! Visit GRC's Ultra High Security Password Generator for tips on secure password generation.) This batch file is only an example. You must modify it to specifically suit your needs. To create the batch file, copy the above quoted text into Notepad and save it as "delete.bat", (without quotes). delete.bat will be your batch file. Put delete.bat in the same folder as the RAR files. (Always make backups before messing with your data. I recommend doing testing in a folder away from your actual data using copies of your actual data.) Batch file warning: Double-clicking a batch file (.bat file) executes the batch file's commands, it does not open it for editing! To open a batch file, you must right-click it and choose "edit". The example batch file above will delete all *.exe, *.txt, and *.rar files from all RAR files found in the current folder that are password protected via the password "YOURPASSWORD". Let me break down the batch file for you
Notice: Xona.com holds no responsibility for any data loss you experience. Make backups of your RAR files before you attempt to modify them, in case it does not work. Double check your work. If you have lots of RAR files, test the batch file on just a few of them (a few copies of them) first. Do not delete files you are not one hundred percent certain you do not need. Always make backups.
All WinRAR Tips:
Have Any Tips To Add? If you have WinRAR tips you would like to add, please contact us.
Also See:
External Links:
About the Author: I am Matthew Doucette of Xona Games, an award-winning, team-of-two indie studio concentrating on "intense retro" games (Xbox LIVE, PSN, WiiWare, and Windows PC). We've released Decimation X (XBLIG), a 1-4 player shmup, #1 best selling and #1 top rated XBLIG in Japan. We're working on Duality ZF (XBLA), a groundbreaking 1-4 player shmup, which placed #1 in Canada and #5 in the world in Microsoft's Dream Build Play 2010 contest. It features dual play, the ability to control two fighters at once, and a massively upgradable 32-stage spread/laser weapon system. 4 player dual play allows up to eight fighters at once. Many of these features are never before seen shoot'em up firsts. Both games feature beautiful electronic Imphenzia soundtracks. Help spread the word with our official dualityzf.com and decimationx.com websites. P.S. Watch out for Score Rush (official website scorerush.com), another 1-4 player shmup. Coming soon to XBLIG. *Shmup also known as: shoot'em up, 2D shooter, scrolling shooter, space shooter, spaceship shooter, retro shooter, etc.
|
|
"Xona Games" and "Xona.com" trademarked and copyrighted by Xona Games Inc., Jason Doucette, and Matthew Doucette. 6,782,869 page views (since 2004-Jul-27) © Xona Games Inc. |