home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 2 BBS
/
02-BBS.zip
/
flink11.zip
/
ViewZip.cmd
< prev
next >
Wrap
OS/2 REXX Batch file
|
1994-12-14
|
612b
|
32 lines
/* hejsan
c:\file\upload vgademo.zip
1 2
*/
parse upper arg Path Filename
if Filename = '' then exit
File = Path'\'Filename
t = filetype( File )
select
when t == "Dms" then s='Testdms -vs' File
when t == "Lha" then s='Lha l /o' File
when t == "Lzh" then s='Lha l /o' File
when t == "Zip" then s='unzip -l' File
when t == "Arc" then s='arc l' File
/*
when t == "Arj" then s='unarj l' File
*/
otherwise do
'@echo Unsupported compression type. >c:\tmp\%node%\test.tx1'
exit
end
end
'@'s '> c:\tmp\%node%\test.tx1 2>c:\tmp\%node%\test.tx2'