SCOUG-Programming Mailing List Archives
Return to [ 29 |
July |
2001 ]
<< Previous Message <<
>> Next Message >>
** Reply to note from scoug-programming@scoug.com Sun, 29 Jul 2001 00:41:54 PDT
> In Rexx, I know of three ways to determine the boot drive:
>
> IBMCOM entry in PATH environment variable (set in CONFIG.SYS) COMSPEC
> environment variable (set in CONFIG.SYS) PSTAT /C | FIND /I "PMSHELL" |
> RXQUEUE
>
> Is there an easier way? Right now I'm getting all these values and
> making sure they agree. Is there a foolproof method?
>
I think I would look for OS2KRNL in the root directory of each drive. If
you find only one then it is the boot drive. If you find more than one
then you would need to do those other things you are doing to confirm
which drive is the boot drive.
Robert Blair
=====================================================
To unsubscribe from this list, send an email message
to "steward@scoug.com". In the body of the message,
put the command "unsubscribe scoug-programming".
For problems, contact the list owner at
"rollin@scoug.com".
=====================================================
<< Previous Message <<
>> Next Message >>
Return to [ 29 |
July |
2001 ]
The Southern California OS/2 User Group
P.O. Box 26904
Santa Ana, CA 92799-6904, USA
Copyright 2001 the Southern California OS/2 User Group. ALL RIGHTS
RESERVED.
SCOUG, Warp Expo West, and Warpfest are trademarks of the Southern California OS/2 User Group.
OS/2, Workplace Shell, and IBM are registered trademarks of International
Business Machines Corporation.
All other trademarks remain the property of their respective owners.
|