home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.os.os2.programmer:4385 comp.os.os2.misc:27998 comp.os.os2.apps:5468
- Path: 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
-
- 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
-