Hi Charlie:

If you are trying to do what I am doing, the "difficult" part
is finding the drive letter for the RAM disk.  Here is a batch
file I rigged up which will find the drive letter for any volume
label...I forget the volume label tdisk assigns, but you can
create one under FreeDOS and use the VOL command to check.
Microsoft's utility uses "MS-RAMDRIVE."

This finds a disk labelled DOS71.



@Echo Off
If %1'==' %0 C D E F G H I J K M N O P Q R S T U V W X Y Z
If %1'==' GOTO:End
Vol %1: | Find "DOS71" > NUL
If ErrorLevel 1 (
Set RAMD=%1
echo Found it: %RAMD%.


This is based on something I found on the web.  I had to
simplify the one I found until I could understand it.   I have
attached the original document.

Hope this helps.


> I know a studious kid who likes cds from the school
> library better than the ones she gets for xmas.  I
> think she will like some of the old DOS games and
> programs, so I am making a customized boot floppy for
> her 10th birthday.  I uploaded a generic version to my
> FreeDOS shrine at: 
> www.geocities.com/wilkes_charlie/dosbox.htm
> Click on the picture at the top of the page if you
> want to download it.
> Here is my question -- I am using microsoft utilities
> from the win98 emergency disk to make a ram drive and
> set it in the path.  Is there a non-ms way to do it,
> e.g., something that works with tdsk?
> Charlie
> __________________________________ 
> Do you Yahoo!? 
> Take Yahoo! Mail with you! Get it on your mobile phone. 
> http://mobile.yahoo.com/maildemo 
> -------------------------------------------------------
> SF email is sponsored by - The IT Product Guide
> Read honest & candid reviews on hundreds of IT Products from real users.
> Discover which products truly live up to the hype. Start reading now.
> http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
> _______________________________________________
> Freedos-user mailing list
> Freedos-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/freedos-user

Attachment: FINDRAMD.BAT.pdf
Description: Adobe PDF document

Reply via email to