home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 2 BBS
/
02-BBS.zip
/
flink11.zip
/
TestFile.cmd
< prev
next >
Wrap
OS/2 REXX Batch file
|
1995-05-19
|
511b
|
27 lines
/* hejsan
c:\file\upload\vgademo.zip
1
*/
parse upper arg File
t = filetype( File )
select
when t == "Dms" then s='Testdms' File
when t == "Lha" then s='c:\dos\Lha /n /m t ' File
when t == "Lzh" then s='c:\dos\Lha /n /m t ' File
when t == "Zip" then s='c:\dos\pkunzip -t' File
when t == "Arc" then s='arc t' File
when t == "Arj" then s='unarj t' File
otherwise
exit
end
s' 1> c:\tmp\%node%\test.tx1 2>c:\tmp\%node%\test.tx2'
if rc = 0 then exit
'del' File