| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | Boot Drive From REXX |
hi Mike, * Re: from Mike Bilow, 1:323/107 ML>> I need to determine the current OS/2 boot drive ML>> (partition) from within a REXX program. The only foolproof ML>> solution I have found is an external function that calls ML>> DosQuerySysInfo(5,5,&Buf,sizeof(Buff)), where Buff is ML>> declared ULONG and will contain the partition number after ML>> the call. MB> This is the only way I can think of to do it, too. On the other hand, MB> a DLL that can be called from REXX to perform this function is easy MB> to write. Dave Boll's YDBAUTIL.DLL contains a RxQuerySysInfo function and loads of other external functions for easy prototyping in REXX. It's free and usualy found in a RXU.ZIP archive (ftp://ftp-os2.nmsu.com/os2/dev32/rexx/rxu18.zip) regards, hugo* Origin: huug{at}telebyte.nl (2:283/608.5) SEEN-BY: 105/42 620/243 711/401 409 410 413 430 807 808 809 934 955 712/407 SEEN-BY: 712/515 628 704 713/888 800/1 7877/2809 @PATH: 283/608 6 1 512 280/801 24/24 396/1 270/101 105/103 42 712/515 @PATH: 711/808 809 934 |
|
| SOURCE: echomail via fidonet.ozzmosis.com | |
Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.