Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

|| Help: How to assign a drive letter to ramdrive.sys

965 views
Skip to first unread message

Chris Willis News

unread,
May 19, 2001, 11:39:28 PM5/19/01
to
I would like to know if anyone here has experience creating a ramdrive
(under Win98 DOS bootdisk, or something similar) with a specific drive
letter?

RAMDRIVE.SYS does not allow you to assign its letter that I can find.

Any third party utilities, or hacks for ramdrive.sys that would allow this?


Chris

Outsider

unread,
May 20, 2001, 2:02:41 AM5/20/01
to


There are two typical approaches.

1) Determine what drive letter the RAM drive is using after it is loaded.
2) A better 3rd party RAM drive that allows assigning a drive letter.


This batch will find the drive letter of the first RAM drive only.
works on systems with dot (.) or comma (,) delimiters. Will work
with other than MS utilities only if you change the search string
to whatever is appropriate. This batch may be run from ANY drive
as long as %temp% is properly set.

:: f-ramdrv.bat
:: finds RAM drive letter
:: tested in English language MS-DOS 6.22
@echo off
SET ramdrv=
MEM.EXE/D |FIND.EXE "=RAMDRIVE" >%temp%.\ramdrv1.dat
IF errorlevel 1 ECHO RAMDRIVE not installed
IF errorlevel 1 DEL %temp%.\ramdrv1.dat
IF errorlevel 1 GOTO end
ECHO @PROMPT $N:$_CD $P> %temp%.\setback1.bat
%COMSPEC%/E:2048/C%temp%.\setback1.bat> %temp%.\goback.bat
DEL %temp%.\setback1.bat
FOR %%c in (%temp%.\ cd) do %%c %temp%.
ECHO. >> ramdrv1.dat
DATE < ramdrv1.dat | find "): " > ramdrv1.bat
ECHO IF "%%7"=="Installed" SET ramdrv=%%6> enter.bat
ECHO IF "%%8"=="Installed" SET ramdrv=%%7>> enter.bat
FOR %%c in (call del) do %%c ramdrv1.bat
FOR %%f in (enter.bat ramdrv1.dat) do DEL %%f
FOR %%c in (call del) do %%c %temp%.\goback.bat

:end
::

Naturally, this url doesn't work anymore since simtel went down the tubes,
but a search should find the file.

http://www.simtel.net/pub/simtelnet/msdos/ramdisk/fu_rd19i.zip
fu_rd19i.zip 75,508 August 12, 1998
Ramdrive which allows you to set the letter of the ram drive to
a letter of your choice

--
<!-Outsider//->
MS-DOS 6.22, Windows for Workgroups 3.11, Netscape Navigator 4.08
MS-DOS 7.1, Windows 4.1 (a.k.a. 98), Netscape Navigator 4.74

Chris Willis News

unread,
May 20, 2001, 1:36:34 PM5/20/01
to
The file was actually at the URL you gave below. Thank you - this is
exactly what I was looking for. I hope it works with Win98 DOS.

As far as the batch file below, you could also use the findramd.bat file on
the Win98 boot disk. It uses a 7K DOS utility to find your ramdisk.
However, if you load a ramdisk and it takes over C: as its letter (cause DOS
doesn't see your NTFS partitions), then the ramdisk fucks up both Ghost63d
and ntfspro.exe, 2 utilities I use in my boot disks.


Chris

"Outsider" <nonvali...@yahoo.com> wrote in message
news:3B075E01...@yahoo.com...

Outsider

unread,
May 20, 2001, 2:12:30 PM5/20/01
to
Chris Willis News wrote:
>
> The file was actually at the URL you gave below.

Must have been temporarily down when I tried it.

> Thank you - this is
> exactly what I was looking for. I hope it works with Win98 DOS.

I have not used it myself, but it is recommended by several reliable
sources. I'm sure it will do what you want.



> As far as the batch file below, you could also use the findramd.bat file on
> the Win98 boot disk. It uses a 7K DOS utility to find your ramdisk.

Yes, I know about that, but I prefer to use only 512 bytes on a boot disk,
so that's why I use a batch; I have a special boot disk version which uses
no pipes or external commands and is only 476 bytes.

> However, if you load a ramdisk and it takes over C: as its letter (cause DOS
> doesn't see your NTFS partitions), then the ramdisk fucks up both Ghost63d
> and ntfspro.exe, 2 utilities I use in my boot disks.

Sounds like a job for the NT gurus. If you want to discuss the NT problem,
the place for that is news:alt.msdos.batch.nt .

metal mick

unread,
May 23, 2001, 3:39:04 PM5/23/01
to
If some one comes back with an answer Id like to hear it iv managed to
create an install that uses ram drive but had to ensure that no CD-ROM
drivers where loaded by config.sys by checking its structure. so no drivers
allowed then you just use on error to test which is last drive.


Todd Vargo

unread,
May 23, 2001, 11:02:19 PM5/23/01
to

metal mick wrote in message <9eh3rb$g51$1...@newsg1.svr.pol.co.uk>...


I assume your news server did not receive the posts from Outsider. If this
is correct, use the search engine below to search for this thread by it's
subject line.

http://groups.google.com/advanced_group_search

Todd Vargo (body of message must contain my name to reply by email)

Donald McKnight

unread,
Jun 2, 2001, 9:36:18 PM6/2/01
to
I found a nice little utility called xms ramdrive it allow more extensions
for ramdrive and allowing a drive letter was one of them. Sounds like it
would be allot easier. and I know it works on a 98 boot disk.

http://www.speedcorp.net/guides/ramdrive/

Donald


"Outsider" <nonvali...@yahoo.com> wrote in message

news:3B08090E...@yahoo.com...

Charles Dye

unread,
Jun 2, 2001, 10:33:19 PM6/2/01
to
On Sun, 03 Jun 2001 01:36:18 GMT, "Donald McKnight"
<suffe...@home.com> wrote:

>I found a nice little utility called xms ramdrive it allow more extensions
>for ramdrive and allowing a drive letter was one of them. Sounds like it
>would be allot easier. and I know it works on a 98 boot disk.
>
>http://www.speedcorp.net/guides/ramdrive/

In fact, that's the exact same utility that Outsider suggested:
Franck Uberto's XMSDSK. I use it on boot disks myself, and
can vouch for it. Nice tight piece of code.

ras...@highfiber.com


0 new messages