home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 25 Icons
/
25-Icons.zip
/
crosso11.zip
/
install.cmd
< prev
next >
Wrap
OS/2 REXX Batch file
|
1998-01-17
|
3KB
|
82 lines
/* Cross Pointer Installation Program
Copyright 1996-98 Creative Systems P.O. Box 241111 Anchorage, AK 99524-1111
jbbarnes@geocities.com
Thanks to Charles M. for the black pointers.
*/
options etmode
options exmode
call RxFuncAdd 'SysLoadFuncs', 'RexxUtil', 'SysLoadFuncs'
call SysLoadFuncs
/* Determine Boot Drive */
bootdrive = Substr(Translate(Value('PATH',,'OS2ENVIRONMENT')),Pos('\OS2\SYSTEM',Translate(Value('PATH',,'OS2ENVIRONMENT')))-2,2)
/* Build Destination Directory */
DirectoryW = bootdrive"\OS2\POINTERS\CROSSWHT"
DirectoryB = bootdrive"\OS2\POINTERS\CROSSBLK"
/* Create The White Directory if Necessary */
Result = SysFileTree( DirectoryW, 'Dirs', 'D' )
If Dirs.0 = 0 Then
Do
Result = SysMkDir( DirectoryW )
if Result <> 0 Then
Do
Say 'ERROR: Unable to create the' DirectoryW 'directory.'
Exit
End
End
/* Create The Black Directory if Necessary */
Result = SysFileTree( DirectoryB, 'Dirs', 'D' )
If Dirs.0 = 0 Then
Do
Result = SysMkDir( DirectoryB )
if Result <> 0 Then
Do
Say 'ERROR: Unable to create the' DirectoryB 'directory.'
Exit
End
End
/* Copy Files */
Say 'Installing new pointers. . .'
'COPY *.WHT' DirectoryW'\*.PTR'
'COPY *.BLK' DirectoryB'\*.PTR'
/* Give Instructions on How to Load Pointers */
Call Syscls
Say 'The pointer files have been installed. Now you just need to load them.'
Say 'Here''s how:'
Say
Say '1. Enter the System Setup. (In the OS/2 System Folder)'
Say '2. Select the Mouse icon, and then choose the "Pointers" tab.'
Say '3. Choose "Load Set..." and select "CROSSWHT" or "CROSSBLK"'
Say ' '
Say 'Hit ENTER to continue once you''re done. . .'
PULL
/* Engage in Shameless Self-Promotion */
Call Syscls
Say 'Your new Cross pointers are now installed!'
Say ' '
Say 'They are provided free-of-charge from Creative Systems, the foremost'
Say 'developer of Bible Software for OS/2. Please take the time to download'
Say 'the WordWise Daily Scripture Calendar for OS/2, with built-in support'
Say 'for over 30 versions of the Bible, and the CODEX Bible Concordance for'
Say 'OS/2. Both programs may be found at most any OS/2 software site, or'
Say 'at the Creative Systems website: www.alaska.net/~saai/cs/creative.html'
Say 'The current names are ww_os220.zip and bible_12.zip, respectively.'
Say
Say 'If you have questions, or would like to be added to the mailing list'
Say 'for the OS/2 Bible Software newsletter, just send a note to me (J.'
Say 'Brandon Barnes) at jbbarnes@geocities.com.'
Say
Say 'God Bless.'
Say
Say '(Hit ENTER to exit)'
PULL
Exit