home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.ee.lbl.gov
/
2014.05.ftp.ee.lbl.gov.tar
/
ftp.ee.lbl.gov
/
mtrek.shar.Z
/
mtrek.shar
/
delete.cmd
< prev
next >
Wrap
OS/2 REXX Batch file
|
1990-04-02
|
319b
|
23 lines
.ENABLE SUBSTITUTION
.10:
.ASKS G G
.ASKS M M
PIP ['G','M']/LI
.;IF <EXSTAT> <> 1 .GOTO 10
.ASK FLAG Delete
.IFF FLAG .GOTO 10
PIP ['G','M']*.*;*/DE
.100:
.TEST G
.IF <STRLEN> > 2 .GOTO 200
.SETS G "0"+G
.GOTO 100
.200:
.TEST M
.IF <STRLEN> > 2 .GOTO 300
.SETS M "0"+M
.GOTO 200
.300:
PIP [0,0]'G''M'.DIR;*/DE
.GOTO 10