home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.barnyard.co.uk
/
2015.02.ftp.barnyard.co.uk.tar
/
ftp.barnyard.co.uk
/
cpm
/
walnut-creek-CDROM
/
CPM
/
DATABASE
/
KPHANDYP.LBR
/
WSTATION.CZD
/
WSTATION.CMD
Wrap
OS/2 REXX Batch file
|
2000-06-30
|
2KB
|
87 lines
***************************************************
* Program WSTATION *
* Peter C. Hawxhurst *
* 02/11/84 (revised 12/18/84 for KAYPRO II) *
* *
* HANDY+ start-up from drive A. *
***************************************************
set talk off
set format to screen
store T to wstation
do while wstation
store 'N' to continue
store ' ' to planning
store ' ' to reminder
store ' ' to notebook
store ' ' to actplans
set default to b
if type(filecabs)
do while filecabs
?
? 'Insert selected disk in drive B and press RETURN...'
set console off
wait to return
set console on
if file('filecabs.cmd') .and. file('filecabs.dbf')
use filecabs index filecabs
@ 20,0
do filecabs
else
erase
?
? 'Selected disk does not contain file'
? 'cabinet and/or file cabinet routine!'
?
? 'Do you wish to try another disk (Y/N)?'
set console off
wait to response
set console on
if !(response)#'Y'
store F to filecabs
else
erase
endif
reset
endif
enddo
endif
erase
?
? '|\===========================================/|'
? '| HANDY+ Personal Work Station System v1.0K |'
? '| Copyright (C) 1984 Peter C. Hawxhurst |'
? '| All rights reserved. |'
? '|_____________________________________________|'
?
store ' ' to day
@ 20,0 say "Please enter today's date (MM/DD/YY) ===> ";
get day picture 'XX/XX/XX'
read
set date to &day
@ 20,0
do saytoday
@ 8,0
? today
?
? 'Place system disk in drive B and press RETURN...'
set console off
wait to return
set console on
if file('workmenu.cmd')
do workmenu
else
erase
?
? 'Not a work station system disk - do you wish to try again (Y/N)?'
set console off
wait to response
set console on
if !(response)#'Y'
store F to wstation
quit
endif
endif
enddo
se
set console on