Specialty Forums
Security and Virus
General Hardware
CPUs/Overclocking
Networking
Digital Photo/Video
Office Software
PC Gaming
Console Gaming
Programming
Database
Web Development
Digital Home

General Forums
Windows XP
Windows Vista
Windows 95/98
Windows Me
Windows NT
Windows 2000
Win Server 2008
Win Server 2003
Windows 3.1
Linux
PDAs
BeOS
Novell Netware
OpenVMS
Solaris
Disk Op. System
Unix
Mac
OS/2

Drivers
Driver Scan
Driver Forum

Software
Automatic Updates

BIOS Updates

My Computing.Net

Solution Center

Free IT eBook

Howtos

Site Search

Message Find

RSS Feeds

Install Guides

Data Recovery

About

Home
Reply to Message Icon Go to Main Page Icon

Path to correct Ramdisk Letter

Original Message
Name: J.C.
Date: September 1, 2006 at 15:07:28 Pacific
Subject: Path to correct Ramdisk Letter
OS: Win98 S.E.
CPU/Ram: 950/CPU 950MB/Ram
Model/Manufacturer: Generic
Comment:
I am using an edited Win98 Boot Disk. I have it set to copy my extra files to Ramdisk F:\.
It works fine when a computer has 3 partations {or 2 hard drives--3 total partations], but it will not work correct, when a computer has a single hard drive with one partation, when that is the case, the Ramdrive installs with another drive letter and will not copy my files to it becauce of the drive letter change.
Is there a command that will allow my files to be copied to the Ramdrive no matter what the drive letter may be?
Thanks,
J.C.

Report Offensive Message For Removal


Response Number 1
Name: DAVEINCAPS
Date: September 1, 2006 at 20:39:09 Pacific
Subject: Path to correct Ramdisk Letter
Reply: (edit)
The ramdrive sets up at the next available drive letter. Since the single drive had one partition the ramdrive probably set up at D:

The ramdrive letter can be expressed as a variable
%RAMD%:\. To copy a file to it something like:

copy filename %RAMD%:\ > NUL

should work.

Also, on a 98 bootdisk there's a findramd command. Here's

http://www.robvanderwoude.com/index.html

a batch file that will return the ramdrive letter.


Report Offensive Follow Up For Removal

Response Number 2
Name: Mechanix2Go
Date: September 2, 2006 at 04:12:12 Pacific
Subject: Path to correct Ramdisk Letter
Reply: (edit)
for %%L in (d e f g h i) do if exist %%L:nul set ramd=%%L:


=====================================
If at first you don't succeed, you're about average.

M2



Report Offensive Follow Up For Removal

Response Number 3
Name: J.C.
Date: September 2, 2006 at 08:43:24 Pacific
Subject: Path to correct Ramdisk Letter
Reply: (edit)
DAVEINCAPS and Mechanix2Go,
Thanks,

The example below worked:
.........part of the text of Autoexec.bat from Win98 Boot Floppy .....................

call setramd.bat %LglDrv%
set temp=c:\
set tmp=c:\
path=%RAMD%:\;a:\;%CDROM%:\
copy command.com %RAMD%:\ > NUL
set comspec=%RAMD%:\command.com
copy extract.exe %RAMD%:\ > NUL
copy A:\Jc.zip %RAMD%:\ > NUL
A:\PKUNZJR.COM %RAMD%:\Jc.zip %RAMD%:\ > NUL
............................................................................................................
Mechanix2Go,
I do not understand where to place the commands you posted. Using the example above, will you show me where to place your commands?
Thanks,
J.C.


Report Offensive Follow Up For Removal

Response Number 4
Name: Mechanix2Go
Date: September 3, 2006 at 01:58:54 Pacific
Subject: Path to correct Ramdisk Letter
Reply: (edit)
What's in setramd.bat?


=====================================
If at first you don't succeed, you're about average.

M2



Report Offensive Follow Up For Removal

Response Number 5
Name: J.C.
Date: September 4, 2006 at 16:42:13 Pacific
Subject: Path to correct Ramdisk Letter
Reply: (edit)
Mechanix2Go,
Thanks, for all the help & info., and for pointing me in the right direction.
J.C.

Report Offensive Follow Up For Removal


Response Number 6
Name: Mechanix2Go
Date: September 5, 2006 at 00:06:47 Pacific
Subject: Path to correct Ramdisk Letter
Reply: (edit)
Does that mean you got it sorted?



=====================================
If at first you don't succeed, you're about average.

M2



Report Offensive Follow Up For Removal

Response Number 7
Name: J.C.
Date: September 5, 2006 at 08:13:23 Pacific
Subject: Path to correct Ramdisk Letter
Reply: (edit)
Yes, got it all sorted and working.
J.C.

Report Offensive Follow Up For Removal



Use following form to reply to current message:

   Name: From My Computing.Net Settings
 E-Mail: From My Computing.Net Settings

Subject: Path to correct Ramdisk Letter

Comments:

 
  Homepage URL (*): 
Homepage Title (*): 
         Image URL: 
 


Data Recovery Software




exessive internet traffic

ZoneAlarm Question. Blocked Connect

Windows Live Messenger Problem

Delete $Uninstall after SP3 updates

help for hp compaq laptop


The information on Computing.Net is the opinions of its users. Such opinions may not be accurate and they are to be used at your own risk. Computing.Net cannot verify the validity of the statements made on this site. Computing.Net and Computing.Net, LLC hereby disclaim all responsibility and liability for the content of Computing.Net and its accuracy.
PLEASE READ THE FULL DISCLAIMER AND LEGAL TERMS BY CLICKING HERE

All content ©1996-2007 Computing.Net, LLC