home *** CD-ROM | disk | FTP | other *** search
- .key FILE/A
- .bra {
- .ket }
-
- ; Usage: execute example.script <filename>
- ; Will report if file is crunched or not, and size
-
- failat 21
- RealSize {FILE} >ENV:parp
- set RSRC $RC
- IF $RSRC eq 20
- echo Can't size file {FILE} : $RealSizeError
- ELSE
- IF $RSRC eq 5
- echo {FILE} is not crunched, but is $parp bytes nevertheless
- ELSE
- echo {FILE} is $parp bytes uncrunched
- ENDIF
- ENDIF
- unset RealSizeError
- unset RSRC
-
- echo and the directory it's in looks like this uncrunched:
- list {FILE} to env:parpdir lformat %f
- echo >t:exeme failat 21
- list $parpdir files lformat "echo noline *"%-28n*" *nrealsize noline %n width=-14*necho %a" >>t:exeme
- execute t:exeme
- delete ENV:parp ENV:parpdir T:exeme QUIET
-
-