Congratulations to AcaCandy on her 100,000th post!
There's no such thing as a stupid question, but they're the easiest to answer.
JoinTour
Login
 
Tag Cloud
acer audio black screen blue screen boot bsod computer connection crash css dell driver drivers email error ethernet excel explorer firefox firefox 3 hard drive internet internet explorer itunes laptop linux malware monitor network networking nvidia outlook outlook 2003 outlook 2007 outlook express partition printer problem router slow software sound trojan usb video virus vista windows windows xp wireless
DOS/PDA/Other
Search
Search in:
 
Advanced Search
Tech Support Guy Forums > Operating Systems > DOS/PDA/Other >
DOS won't work from hard drive or boot disk


HELLO AND WELCOME! Before you can post your question, you'll have to register -- it's completely free! Click here to join today! We highly recommend that you print a copy of our Guide for New Members. Enjoy!

 
Thread Tools
FarRed's Avatar
Computer Specs
Member with 63 posts.
 
Join Date: Oct 2006
Experience: Intermediate
06-Aug-2008, 03:24 PM #1
DOS won't work from hard drive or boot disk
I'm new to DOS, and am working on a computer running 6.22 that suddenly stopped working. During boot up, it stops at running smartdrv.exe (part of the autoexec), saying it is a bad command. I can only get the built-in (internal) commands to work, like dir, type, etc. No external commands run, like CHKDSK and SCANDISK. I can't even get to the help (/?). They just return "bad command or file name" etc.

I can run DOS from a boot disk.
__________________
FarRed

Last edited by FarRed : 06-Aug-2008 08:08 PM.
Squashman's Avatar
Distinguished Member with 12,688 posts.
 
Join Date: Apr 2003
Location: 1265 Lombardi Ave
06-Aug-2008, 08:23 PM #2
What does your path variable look like.
FarRed's Avatar
Computer Specs
Member with 63 posts.
 
Join Date: Oct 2006
Experience: Intermediate
07-Aug-2008, 09:50 AM #3
After loading, I'm left with the prompt c:\drvread\. The path variable is c:\dos

The config.sys reads:
device=c:\dos\setver.exe
device=c:\dos\himem.sys
dos=high
files=30

autoexec.bat reads:
c:\dos\smartdrv.exe /x
@echo off
prompt $p$g
path c:\dos
set temp=c:\dos
cd c:\drvread
drvread.exe

It looks like himem is working since I get no error, but when autoexec runs smartdrv.exe I get "bad command or file name".

All the external command files appear to be intact in the DOS folder. I copied CHKDSK from a boot disk, a known working disk, to the dos folder of the C: drive, but CHKDSK still wouldn't work.

Thanks.

Update: The problem is intermittent now. Do enough soft reboots and it works. Not the best situation, but it's something. It makes me wonder if this is software or hardware.
__________________
FarRed

Last edited by FarRed : 07-Aug-2008 12:11 PM.
Squashman's Avatar
Distinguished Member with 12,688 posts.
 
Join Date: Apr 2003
Location: 1265 Lombardi Ave
07-Aug-2008, 07:36 PM #4
I thought back in the days of DOS you had to use SET to set the path.
When you type path at the dos prompt do you get c:\dos ?
kerremelk's Avatar
Computer Specs
Junior Member with 11 posts.
 
Join Date: May 2006
Location: Eeklo, the East Flanders
Experience: moderate
08-Aug-2008, 01:43 AM #5
hi
make it
Code:
autoexec.bat reads:
c:\dos\smartdrv.exe /x
@echo off
prompt $p$g
set path = c:\dos;c:\drvread
set temp=c:\dos
c:\drvread\drvread.exe
kerremelk's Avatar
Computer Specs
Junior Member with 11 posts.
 
Join Date: May 2006
Location: Eeklo, the East Flanders
Experience: moderate
08-Aug-2008, 01:46 AM #6
sorry for the edit, this has been a while.
FarRed's Avatar
Computer Specs
Member with 63 posts.
 
Join Date: Oct 2006
Experience: Intermediate
08-Aug-2008, 11:43 AM #7
For path I get C:\dos.

I'll try messing with the autoexec. Thanks.
kerremelk's Avatar
Computer Specs
Junior Member with 11 posts.
 
Join Date: May 2006
Location: Eeklo, the East Flanders
Experience: moderate
09-Aug-2008, 12:53 PM #8
Hi
you can add the root of C:\ to path (and any other existing directory) as long as you do not exceed 127 character path length limit.

set path = C:\;c:\dos;c:\drvread;

Vernon Frazee's page is still one of the better ones out there.
http://www.vfrazee.com/ms-dos/6.22/help/index.htm
FarRed's Avatar
Computer Specs
Member with 63 posts.
 
Join Date: Oct 2006
Experience: Intermediate
26-Aug-2008, 03:13 PM #9
Turns out the RAM (256MB) was bad--one stuck bit (I ran Micrsoft's memtest). I'm guessing it was thermally intermittent since it worked if I shut down the computer for a while. The intermittent part was misleading since DOS would work off the A drive sometimes. I had a spare 128MB stick, and apparently that was enough. Thanks or the help.

The perk out of this is that I learned how to run Wolf3D in DOS, I just explain to my boss that it's a troubleshooting tool.
__________________
FarRed
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
WELCOME TO TECH SUPPORT GUY! Are you looking for the solution to your computer problem? Join our site today to ask your question -- for free! Our site is run completely by volunteers who help people like you solve computer problems. See our Welcome Guide to get started.



Thread Tools


You Are Using:
Server ID
Advertisements do not imply our endorsement of that product or service.
All times are GMT -4. The time now is 01:08 PM.
Copyright © 1996 - 2008 TechGuy, Inc. All rights reserved.
Powered by vBulletin, Copyright © 2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Powered by Cermak Technologies, Inc.