🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.os2.programmer
Article #1204

Re: Available drives on the system

#1204
From: Greg Forney bigred
Date: Sat, 22 Aug 1992 17:05
25 lines
1397 bytes
Disclaimer: This posting represents the poster's views, not those of IBM
News-Software: UReply 3.0
X-X-From: bigred@vnet.ibm.com (Greg Forney)
References: <1992Aug21.215508.17242@gmuvax2.gmu.edu>

In <1992Aug21.215508.17242@gmuvax2.gmu.edu> Srinivas Savaram writes:
>HI:
>
>I need to find out the hardware configuration of the machine from my program.
>I need to know what kind of floppy drives are present on the system.
>Is there a hard disk available. IF yes, then what are the different
>partitions. I also need to know if there are two floppy drives or just
>one? I would appreciate any help .
>
>Thanks..
>

You were not very clear about what sort of program you were writing.
The Rexx language included with OS/2 could assemble such info for
you by scanning all possible drive letters a-Z with the SysDriveInfo
function. Look in the Info folder within the Rexx book in the
RexUtils section. There are lots of useful functions in it and I
would expect the list to expand in the future.

GregF
Technical Details
Message-ID: <19920822.101051.806@almaden.ibm.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!vnet.ibm.com

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!vnet.ibm.com
From: bigred@vnet.ibm.com (Greg Forney  bigred@vnet.ibm.com)
Message-ID: <19920822.101051.806@almaden.ibm.com>
Date: Sat, 22 Aug 92 13:05:44 EDT
Newsgroups: comp.os.os2.programmer,comp.os.os2.misc,comp.os.os2.apps
Subject: Re: Available drives on the system
Reply-To: bigred@vnet.ibm.com (Greg Forney)
Organization: IBM
Lines: 25