[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference noted::mswindows

Title:Microsoft Windows
Moderator:EEMELI::BACKSTROM
Created:Thu Apr 24 1986
Last Modified:Thu May 29 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:4731
Total number of notes:24015

4730.0. "RAMDRIVE drive assignment" by FLYWAY::WALKERN (Skiing Skippy...) Tue May 27 1997 07:06

Hi,

Can anyone tell me how to control which device drive the ramdisk program will
assign?

At the moment it is simply using the next free drive letter, but since I want
to setup a boot floppy for general use, I cannot hardcode a drive letter, and
variables set in the batch file that ramdrive uses are not returned at
completion.

Any help would be appreciated.

thanks,

Nick
T.RTitleUserPersonal
Name
DateLines
4730.1this dos; this is your process in dosNETCAD::ROLKEThe FDDI Genome ProjectTue May 27 1997 13:4010
I think you are stuck with: 

	"Ramdrive uses the next available driver letter."

I use SUBST to map a drive to some common letter, say V:, so that
I never know what disk I'm really on but my process uses V: and it
is happy.

FWIW,
Chuck
4730.2RUSURE::EDPAlways mount a scratch monkey.Wed May 28 1997 09:5112
    I have a batch file that figures out where the RAM drive landed and
    assigns TMP and TEMP to point there.  The DOS LABEL command is useful
    for this.  Let me know if you'd like a copy.  As .1 notes, once you've
    found the drive, you can use SUBST to give it a fixed letter instead of
    assigning TMP and TEMP.
    
    
    				-- edp
    
    
Public key fingerprint:  8e ad 63 61 ba 0c 26 86  32 0a 7d 28 db e7 6f 75
To find PGP, read note 2688.4 in Humane::IBMPC_Shareware.