Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

error config.sys/autoexec.bat

Status
Not open for further replies.

vaat

MIS
May 14, 2002
27
NL
this is my config.sys and autoexec.bat !
I get an error, which is telling that i have to clean my environment variables and that they are moved to the registry. What can i clean about the two files ?

AUTOEXEC.BAT:
@ECHO OFF
path=c:\windows;c:\windows\command
\hibinv.exe
call \checksr.bat
IF "%config%"=="QUICK" GOTO QUICK

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:\;%path%;%CDROM%:\
copy command.com %RAMD%:\ > NUL
set comspec=%RAMD%:\command.com
copy extract.exe %RAMD%:\ > NUL
copy leesmij.txt %RAMD%:\ > NUL

:ERROR
IF EXIST ebd.cab GOTO EXT
echo Plaats de opstartdiskette nr. 2 van Windows Millennium Edition
echo.
pause
GOTO ERROR

:EXT
%RAMD%:\extract /y /e /l %RAMD%: ebd.cab > NUL
echo De diagnostische hulpprogramma's zijn geladen in station %RAMD%.
echo.

IF "%config%"=="NOCD" GOTO QUIT
IF "%config%"=="HELP" GOTO HELP
LH %ramd%:\MSCDEX.EXE /D:mscd001 /L:%CDROM%
::Indien MSCDEX geen station kan vinden...
IF ERRORLEVEL 1 SET CDPROB=1
::
GOTO QUIT

:HELP
LH %ramd%:\MSCDEX.EXE / D:mscd001 / L:%CDROM%
::Indien MSCDEX geen station kan vinden...
IF ERRORLEVEL 1 SET CDPROB=1
cls
call help.bat
::
GOTO QUIT

:QUIT
call fixit.bat
rem u dient de omgevingsvariabelen op te schonen
set CDPROB=

set CDROM=
set LglDrv=
GOTO QUICK

:QUICK
En:
config.sys :
[menu]
menuitem=HELP, Help

menuitem=CD, Computer opstarten met cd-rom-ondersteuning.
menuitem=NOCD, Computer opstarten zonder cd-rom-ondersteuning.
menuitem=QUICK, Minimale opstartmodus
menudefault=HELP,30
menucolor=7,0

[HELP]
device=oakcdrom.sys /D:mscd001
device=btdosm.sys
device=flashpt.sys
device=btcdrom.sys /D:mscd001
device=aspi2dos.sys
device=aspi8dos.sys
device=aspi4dos.sys
device=aspi8u2.sys
device=aspicd.sys /D:mscd001

devicehigh=ramdrive.sys /E 2048

[CD]
device=oakcdrom.sys /D:mscd001
device=btdosm.sys
device=flashpt.sys
device=btcdrom.sys /D:mscd001
device=aspi2dos.sys
device=aspi8dos.sys
device=aspi4dos.sys
device=aspi8u2.sys
device=aspicd.sys /D:mscd001
devicehigh=ramdrive.sys /E 2048

[NOCD]
devicehigh=ramdrive.sys /E 2048

[QUICK]

[COMMON]
files=10
buffers=10
dos=high,umb
stacks=9,256

lastdrive=z
device=display.sys con=(ega,,1)
country=031,850,country.sys
install=mode.com con cp prepare=((850) ega.cpi)
install=mode.com con cp select=850
install=keyb.com br,,keyboard.sys


 
This looks to be the content of a boot disk...setting an environment to run the CD drive and (as do some boot discs) creating a ram drive for diagnostics. It also enables some disc hibernation stuff (guessing hibinv.exe is such)

IF it's on the hard drive...you should be able to get away with deleting the files (or rename them to autoexec.old and config.old) in DOS and rebooting.

This is actually on the computer hard drive?

To run WinMe..unless you run a lot of DOS programs...you don't even want or need an autoexec.bat or config.sys.

IF you're just trying to create an EBD, there are easier ways (though I admire your pluck).
There are downloadable ones...that have everything you need.

As for the hibernation (if that's what it is) I troubleshoot too many customer's setups with goofy settings in Power Management that cause them more problems...that they have to hire me to fix. My advice (free) is to turn all that off.

Thanks, too, for improving my linguistic skills.
 
Possibly add more memory to the environment. Don't know if the DOS version still works here but you could try:
in config.sys
shell=c:\command.com /e:1024 /p Ed Fair
unixstuff@juno.com
Any advice I give is my best judgement based on my interpretation of the facts you supply. Help increase my knowledge by providing some feedback, good or bad, on any advice I have given.
 
ok, thanxs. i solved the problem vye disabling the files
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top