Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
I have a cmd line ( extract.exe ) that decompres a specific encrypted data files ( .prs ).
the parameters are like this:
extract.exe -e input output( Example:
extract.exe -e 0001.prs 0001.prs.dec
This will decompress 0001.prs into a new file 0001.prs.dec )Now i have a directory with a LOT of these .prs files, and i would like to write a simple batch to decompress them all rapidly using the extract.exe
How can I do?
Thanks! :D

0001.prs.dec is *NOT* a DOS file name.
wrong forum
But as long as you're here, in XP:
---------------------------------
@echo off & setLocal EnableDELAYedExpansionfor /f "tokens=* delims= " %%a in ('dir/b *.prs') do (
extract.exe -e %%a %%a.dec
)
=====================================
Helping others achieve escape felicityM2

![]() |
![]() |
![]() |
| Login or Register to Reply | |
| Login | Register |
| Ads by Google |