Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
My computer is not booting normally.
For every program it is supposed to load at startup, it gives "Bad command or file name", and "File not found.".
here is the code of my system files:Autoexec.bat in C:\ :
@ECHO OFF
PROMPT $P$G
LFNFOR ON
SET DIRCMD=/4
MODE CON RATE=32 DELAY=1
LH KILLER
LH DOSKEY
LH DOSLFN /Z:CP437UNI.TBL
LH SHSUCDX /D:IDE-CD
ECHO.
ECHO Now you are in MS-DOS 7.10 prompt.
ECHO.config.sys in C:\ :
DOS=HIGH,UMB
DEVICE=HIMEM.SYS
DEVICE=EMM386.EXE NOEMS
DEVICEHIGH=VIDE-CDD.SYS /D:IDE-CD
SHELL=COMMAND.COM /P /E:640
FILES=30
FCBSHIGH=4,0
BUFFERSHIGH=20
LASTDRIVEHIGH=26
STACKSHIGH=9,256
SET TEMP=.
SET TMP=.autoexec.bat in C:\DOS71 :
@ECHO OFF
PROMPT $P$G
LFNFOR ON
SET DIRCMD=/4
MODE CON RATE=32 DELAY=1
LH KILLER
LH DOSKEY
LH DOSLFN /Z:CP437UNI.TBL
LH SHSUCDX /D:IDE-CD
ECHO.
ECHO Now you are in MS-DOS 7.10 prompt.
ECHO.config.sys in C:\DOS71\ :
DOS=HIGH,UMB
DEVICE=HIMEM.SYS
DEVICE=EMM386.EXE NOEMS
DEVICEHIGH=VIDE-CDD.SYS /D:IDE-CD
SHELL=COMMAND.COM /P /E:640
FILES=30
FCBSHIGH=4,0
BUFFERSHIGH=20
LASTDRIVEHIGH=26
STACKSHIGH=9,256
SET TEMP=.
SET TMP=.
REM MS-DOS 7.10 Boot Disk
Just for reference, this file was copied off a boot disk.
Are the files correct?
Is my computer a piece of junk?
Are the BIOS setting incorrect?
Is there a corrupt file?
P.S.: normally if I type:
"edit file.extension"
in a directory other than the DOS directory, the computer finds EDIT and loads the file, but now EDIT only works in the DOS directory(C:\DOS71\).There are 3 types of people in this world, those who can count and those who can't.

Hi dboy
You need to set a Path command in c:\autoexec.bat so your files can be found.
ie set path=c:\;c:\dos71 ect.

Full PATH info must be used in config.sys - it loads before autoexec - unless the referenced files are in the default directory (root C:\)
Likewise in autoexec.bat - statements run prior to the PATH line require the full pathname as well.
ONLY c:\config.sys & c:\autoexec.bat are processed (DOS 101)
The BIOS is independent of the OS (computing 101)
"Is my computer a piece of junk?"
That's relative - but by modern standards - sure. Still does everything it did when it was new though
I'm not insensitive, I just don't care.

That's Wengier's dos (China Dos Union)..i recognize some of the commands..
Definitely include a 'path' command in your autoexec.bat as previously suggested..at the very least 'Path=C:\dos;'
(there may not be one because it was a bootdisk, or because it's derived from win98 dos, which has it's path integrated into command.com, instead of an autoexec.bat line).
Frankly, it (wengier's custom dos) can be a tricky dos to set up, and so unless you have an overriding reason to use it (such as an over 2 gig harddrive), i'd *strongly* suggesty you use a standard stand-alone dos, such as MsDos 6x or DR Dos, or FreeDos etc.
It'll save you *loads* of trouble...Obviously, i think i believe you think i said what you want to believe, but i think you didn't believe what i think i really said...

![]() |
![]() |
![]() |

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
| Ads by Google |