hi everybody! i have win 95 98 n me startup disks n i wanna change one of them. i wanna make the ram drive a fixed ram drive like "H." here's the batch file for the 98 startup disk...
set EXPAND=YES
SET DIRCMD=/O:N
set LglDrv=27 * 26 Z 25 Y 24 X 23 W 22 V 21 U 20 T 19 S 18 R 17 Q 16 P 15
set LglDrv=%LglDrv% O 14 N 13 M 12 L 11 K 10 J 9 I 8 H 7 G 6 F 5 E 4 D 3 C
cls
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 readme.txt %RAMD%:\ > NUL
:ERROR
IF EXIST ebd.cab GOTO EXT
echo Please insert Windows 98 Startup Disk 2
echo.
pause
GOTO ERROR
:EXT
%RAMD%:\extract /y /e /l %RAMD%: ebd.cab > NUL
echo The diagnostic tools were successfully loaded to drive %RAMD%.
echo.
IF "%config%"=="NOCD" GOTO QUIT
IF "%config%"=="HELP" GOTO HELP
LH %ramd%:\MSCDEX.EXE /D:mscd001 /L:%CDROM%
echo.
GOTO QUIT
:HELP
cls
call help.bat
echo Your computer will now restart and the startup menu will appear.
echo.
echo.
echo.
echo.
echo.
echo.
echo.
echo.
echo.
echo.
restart.com
GOTO QUIT
:QUIT
echo To get help, type HELP and press ENTER.
echo.
rem clean up environment variables
set CDROM=
set LglDrv=
i kno i need to edit this "%RAMD%" setting somehow so it would always set the ram drive as "H." can some1 show me what i need to change to do that! thank you!!!
windows startup disk
Moderator: DosItHelp
Re: windows startup disk
It looks like setramd.bat is the one to modify.
Re: windows startup disk
ok here's part of SETRAMD.BAT
@echo off
set RAMD=
set CDROM=
echo.
echo Preparing to start your computer.
echo This may take a few minutes. Please wait...
echo.
a:\findramd
if errorlevel 255 goto no_ramdrive
if not errorlevel 3 goto no_ramdrive
goto do_shift
:loop
if errorlevel %1 goto no_shift
so if i edit the command "set RAMD=" to "set RAMD="H"", will that work? ohh foxidrive thank u helping me!!!
@echo off
set RAMD=
set CDROM=
echo.
echo Preparing to start your computer.
echo This may take a few minutes. Please wait...
echo.
a:\findramd
if errorlevel 255 goto no_ramdrive
if not errorlevel 3 goto no_ramdrive
goto do_shift
:loop
if errorlevel %1 goto no_shift
so if i edit the command "set RAMD=" to "set RAMD="H"", will that work? ohh foxidrive thank u helping me!!!
Re: windows startup disk
I'm not sure without seeing the code as that setramd batch file may execute the program to create the ramdrive and it would need to be changed to specify a drive letter.
Re: windows startup disk
'
Wow, that microsoft ramDrive is hugely inefficient and outdated, are u sure u want to use it ?
http://www.dostips.com/forum/viewtopic.php?p=9447#p9447
http://ftp.ibiblio.org/pub/micro/pc-stuff/freedos/files/util/disk/shsufdrv/fdrv-3.txt
http://jackngblog.blogspot.be/2010/05/using-shsurdrvexe-to-create-ramdrive-in.html
Wow, that microsoft ramDrive is hugely inefficient and outdated, are u sure u want to use it ?
http://www.dostips.com/forum/viewtopic.php?p=9447#p9447
Code: Select all
DOS=HIGH,UMB
Files=40
Buffers=30
Stacks=0,0
set Drive.RAM=X:
set Drive.CD=T:
set Drive.Server=Y:
install=SHSURDRV.EXE 8192k,D480,X: /Q
install=TUNZ.COM -o BOOT.ZIP X:\
SHELL=X:\COMMAND.COM /E:4096 /P
http://jackngblog.blogspot.be/2010/05/using-shsurdrvexe-to-create-ramdrive-in.html
Re: windows startup disk
ok... i guess i should have started at the beginning. mab there's a simple way 2 do what i want. i have xp pro with a hard drive n 2 partitions, 1 4 the system n the other 4 programs so that's drives C and D. I them did a LLF on another seagate hard drive and added it to xp pro n then went to format it but, it will only allow ntfs... which i don't want!
what i want to do is, set the seagate hd as E with fat32 instead of ntfs!
or, if there's a way thru fdisk to set the drive as E and format as fat32 that would solve all my problems!
FOR FOXIDRIVE - here's the SETRAMD file
@echo off
set RAMD=
set CDROM=
echo.
echo Preparing to start your computer.
echo This may take a few minutes. Please wait...
echo.
a:\findramd
if errorlevel 255 goto no_ramdrive
if not errorlevel 3 goto no_ramdrive
goto do_shift
:loop
if errorlevel %1 goto no_shift
:do_shift
set cdrom=%2
shift
shift
if not %1*==* goto loop
goto no_ramdrive
:no_shift
set ramd=%2
if "%RAMD%"=="C" goto c_drive
goto success
:c_drive
echo Windows 98 has detected that drive C does not contain a valid FAT or
echo FAT32 partition. There are several possible causes.
echo.
echo 1. The drive may need to be partitioned. To create a partition on the drive,
echo run FDISK from the MS-DOS command prompt.
echo.
echo 2. You may be using third-party disk-partitioning software. If you are using
echo this type of software, remove the Emergency Boot Disk and restart your
echo computer. Then, follow the on-screen instructions to start your computer from
echo a floppy disk.
echo .
echo 3. Some viruses also cause your drive C to not register. You can use a virus
echo scanning program to check your computer for viruses.
echo.
goto success
:no_ramdrive
echo The Windows 98 startup disk could not create a temporary drive for the
echo diagnostic tools. This may be because this computer has less than the
echo minimum required extended memory.
echo.
:success
thanks for the help guys... i really do appreciate it!!!
what i want to do is, set the seagate hd as E with fat32 instead of ntfs!
or, if there's a way thru fdisk to set the drive as E and format as fat32 that would solve all my problems!
FOR FOXIDRIVE - here's the SETRAMD file
@echo off
set RAMD=
set CDROM=
echo.
echo Preparing to start your computer.
echo This may take a few minutes. Please wait...
echo.
a:\findramd
if errorlevel 255 goto no_ramdrive
if not errorlevel 3 goto no_ramdrive
goto do_shift
:loop
if errorlevel %1 goto no_shift
:do_shift
set cdrom=%2
shift
shift
if not %1*==* goto loop
goto no_ramdrive
:no_shift
set ramd=%2
if "%RAMD%"=="C" goto c_drive
goto success
:c_drive
echo Windows 98 has detected that drive C does not contain a valid FAT or
echo FAT32 partition. There are several possible causes.
echo.
echo 1. The drive may need to be partitioned. To create a partition on the drive,
echo run FDISK from the MS-DOS command prompt.
echo.
echo 2. You may be using third-party disk-partitioning software. If you are using
echo this type of software, remove the Emergency Boot Disk and restart your
echo computer. Then, follow the on-screen instructions to start your computer from
echo a floppy disk.
echo .
echo 3. Some viruses also cause your drive C to not register. You can use a virus
echo scanning program to check your computer for viruses.
echo.
goto success
:no_ramdrive
echo The Windows 98 startup disk could not create a temporary drive for the
echo diagnostic tools. This may be because this computer has less than the
echo minimum required extended memory.
echo.
:success
thanks for the help guys... i really do appreciate it!!!
Re: windows startup disk
There are some tools that will format a HDD to FAT32 under XP. Do a google. fat32format is one I seem to recall.
If you don't create a primary partition on the second hard drive then it should take e: as the drive letter. You'll have to look at partitioning software to see if you can find how to create an extended partition on it.
The alternative is to make a primary partition on the new drive as normal, copy the old D: partition to the new drive and let the drives become
C: = old C:
D: = new hard drive with the files from the old D:
E: = old D: partition
which is the way they will arrange themselves.
FAT32 is not as fault tolerant as NTFS so unless you have compelling reasons not to use NTFS then it really is far more robust.
And that ramdrive question? setramd doesn't set the drive letter but it calls findramd
If you don't create a primary partition on the second hard drive then it should take e: as the drive letter. You'll have to look at partitioning software to see if you can find how to create an extended partition on it.
The alternative is to make a primary partition on the new drive as normal, copy the old D: partition to the new drive and let the drives become
C: = old C:
D: = new hard drive with the files from the old D:
E: = old D: partition
which is the way they will arrange themselves.
FAT32 is not as fault tolerant as NTFS so unless you have compelling reasons not to use NTFS then it really is far more robust.
And that ramdrive question? setramd doesn't set the drive letter but it calls findramd
Re: windows startup disk
An examplary fDisk script.rtfgirl wrote:or, if there's a way thru fdisk to set the drive as E and format as fat32 that would solve all my problems!
Code: Select all
1
1
y
Hope it helps,