home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CP/M
/
CPM_CDROM.iso
/
mbug
/
mbug104.arc
/
MENU.LBR
/
BOOTSCRN.CMD
next >
Wrap
OS/2 REXX Batch file
|
1979-12-31
|
1KB
|
40 lines
* BOOTSCRN.CMD
ERASE
@ 4,30 SAY "When the disk stops"
@ 6,25 SAY "Mount the disk marked"
@ 6,47 SAY id
@ 8,35 SAY "in drive A:"
@ 10,3 say " "
RETURN cur:seq
@ line+1, 0 say 'Enter your choice ->' get cur:seq
read
store cur:name+cur:seq to search:key
find &search:key
if ( loop
endif
*
do case
case type='M'
store id to cur:name
loop
case tyo clock
call tod
*
* now we have the time we can extract the date
*
store $(tod,2,8) to date
*
* now tell the system
*
set date to &date
* all my files, lord, are on drive b
set default to b
*
? "Current date set to ",date
do b:menu
8 ;ZERO-PAGE,Y MODE <LDX, STX>
;NONE OF ABOVE, DEFAULT TO ABSOLUTE