home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Fresh Fish 9
/
FreshFishVol9-CD2.bin
/
bbs
/
util
/
dosk-1.0.lha
/
DosK
/
Commands
/
SearchK
< prev
next >
Wrap
Text File
|
1995-01-04
|
2KB
|
50 lines
FAILAT 21
LAB START
REQUESTCHOICE >ENV:CHO "SearchK ©January 1995 By Kenneth J. McCormick. All Rights Reserved." "MAIN WINDOW" "SEARCH" "BYE"
IF $CHO EQ "0"
SKIP FIN
ENDIF
REQUESTCHOICE >ENV:CHO3 "SearchK" "SEARCH FOR" "STRING" "FILE"
IF $CHO3 EQ "1"
REQUESTFILE >ENV:FILE1 TITLE="SELECT FILE TO SEARCH"
REQUESTCHOICE >ENV:CHO2 "SearchK" "Choose One" "CONTINUE" "ABORT"
IF $CHO2 EQ "0"
SKIP BACK START
ENDIF
REQUESTFILE >ENV:FILE2 TITLE="TYPE STRING ON FILE LINE"
ENDIF
IF $CHO3 EQ "0"
REQUESTFILE >ENV:FILE1 TITLE="SELECT DIR OR VOL TO SEARCH" DRAWERSONLY
REQUESTCHOICE >ENV:CHO2 "SearchK" "Choose One" "CONTINUE" "ABORT"
IF $CHO2 EQ "0"
SKIP BACK START
ENDIF
REQUESTFILE >ENV:FILE2 TITLE="TYPE FILE NAME ON FILE LINE"
ENDIF
REQUESTCHOICE >ENV:CHO2 "SearchK" "Choose One" "CONTINUE" "ABORT"
IF $CHO2 EQ "0"
SKIP BACK START
ENDIF
REQUESTCHOICE >ENV:CHO3 "SearchK" "SEARCH DIRECTORIES" "SELECTED" "ALL" "ABORT"
IF $CHO3 EQ "1"
SEARCH $FILE1 $FILE2 >RAM:TEMPSR
ENDIF
IF $CHO3 EQ "2"
SEARCH $FILE1 $FILE2 ALL >RAM:TEMPSR
ENDIF
IF $CHO3 EQ "0"
SKIP BACK START
ENDIF
SYS:UTILITIES/MULTIVIEW RAM:TEMPSR
SKIP BACK START
LAB FIN
UNSETENV CHO
UNSETENV CHO2
UNSETENV CHO3
UNSETENV FILE1
UNSETENV FILE2
DELETE RAM:TEMPSR QUIET