Robert_Salesas@mindlink.bc.ca (Robert Salesas) (06/20/91)
You can find a function in Turbo Pascal that does what you want (determine drive type, RAM, SUBST, HD, NETWORK, 3 1/2, 5 1/4, etc...) by looking in the Turbo Power section (PCVENB) on Compuserver. The file is called Drives.ARC, it should be VERY simple to change to C or assembler if you need to. (As well as work with Windows). Rob -- \--------------------------------------------------------------------/ \ Robert Salesas + Usenet: Robert_Salesas@MINDLINK.bc.ca / \ Eschalon Development Inc. + CIS: 76625,1320 BYTE: newdawn / \--------------------------------------------------------------------/
emills@ux1.cso.uiuc.edu (Evan Mills) (06/20/91)
I'm working on a project where I need to gather information on all or some of the disk drives installed in a system. Using the undocumented "List of Lists" I'm able to check-- via the array of Current Directory Structures-- if a drive is valid, SUBST'ed, JOIN'ed, an Installable File System (DOS 4.0???), and/or physical. My problem is that I'd like a way to detect whether or not a drive is a RAM drive. My RAM drive is created by PC-Kwik and is listed as a physical drive. Also, MS-Windows displays a hard drive icon instead of a RAM drive icon. I need some way to identify it as a _RAM_ drive. Any additional drive characteristics would be desirable as well. Thanks in advance, --- Evan -- Evan Mills HIREMEPLEASEHIREME Illinois State Water Survey PLEASEHIREMEPLEASE Champaign, IL 61820 HIREMEPLEASEHIREME evan-mills@uiuc.edu PLEASEHIREMEPLEASE