Computing.Net > Forums > Windows Me > Can't run DOS

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Can't run DOS

Reply to Message Icon

Name: Sonty
Date: September 9, 2002 at 07:09:56 Pacific
OS: Windows ME
CPU/Ram: PIII 866 128MB
Comment:

I have Windows ME. When I click on the MS-DOS prompt in the accessories menu nothing happens, not even an error message. When I type 'command' into the run box still nothing. It worked fine a week ago and I am not aware of changing anything.

It is as if DOS has disappeared completely. I have to close any programs that try to use DOS because they slow the computer right down, I think they are stuck because they can't access DOS. Can't do any Java programming because Java needs DOS.

Thanks for any help.




Sponsored Link
Ads by Google

Response Number 1
Name: mike
Date: September 9, 2002 at 08:59:04 Pacific
Reply:

sounds like command.com got deleted. do a file search for it.


0

Response Number 2
Name: Sonty
Date: September 9, 2002 at 09:13:42 Pacific
Reply:

No it's still there. One in C:\WINDOWS and another identical one in C:\WINDOWS\COMMAND\EDB. Most of the DOS files appear to be intact, but I don't know why I have command.com in two different places.

The properties of the MS-DOS PROMPT in accessories says

Cmd line: C:\WINDOWS\COMMAND.COM
Working: C:\WINDOWS

if thats any use.


0

Response Number 3
Name: Olivier FOURNIER
Date: September 9, 2002 at 10:34:35 Pacific
Reply:

Bonjour,
just try to run your command.com directly
by double clicking on, from the opened
window of the C:\directories and files (or in the list of C:\ by the explorer).
Normally a DOS window will open with the prompt ... Check also that the autoexec.bat is in C:\ and open it (right click edition) to see the path ...


0

Response Number 4
Name: Sonty
Date: September 9, 2002 at 11:54:16 Pacific
Reply:

Thanks for the help but still no luck. Not even an error message when I double click command.com.

What files should command.com and autoexec.bat be in? What files are essential to get DOS up and running? My autoexec currently says:

SET windir=C:\WINDOWS
SET winbootdir=C:\WINDOWS
SET COMSPEC=C:\WINDOWS\COMMAND.COM
SET PATH=C:\GNAT\BIN;C:\GNATCO~1.3P\BIN;C:\WINDOWS;C:\WINDOWS\COMMAND
SET PROMPT=$p$g
SET TEMP=C:\WINDOWS\TEMP
SET TMP=C:\WINDOWS\TEMP
SET ADA_INCLUDE_PATH=C:\GNAT\ADAGRAPH
SET ADA_OBJECTS_PATH=C:\GNAT\ADAGRAPH

Also, how many files should be in the COMMAND folder, because I have another folder inside that called EDB.

Thanks


0

Response Number 5
Name: Ray (Kent WA USA)
Date: September 9, 2002 at 15:21:05 Pacific
Reply:

1. Does your WinME PC have the 2 files
C:\Windows\command.pif
and
C:\Windows\dosprmpt.pif ?

From Windows Explorer, search for "*.pif" in
C:\Windows (and subfolders). You should see
(among others) "command" and "DOSPRMPT", both
with little "MS-DOS" icons. (Neither of these
2 files are set "Hidden", by the way.)

2. Ignore the \Windows\command\EBD folder -- it
contains files used in creating an Me boot floppy (aka "Emergency Boot Disk").


0

Related Posts

See More



Response Number 6
Name: Sonty
Date: September 10, 2002 at 04:47:40 Pacific
Reply:

Yes, I have both of those files, nothing at all happens when I double click them, both are in C:\Windows.

Is the file dosstart.bat important? It is currently 0 bytes.

Do you think buying the Windows XP upgrade could fix it, because I don't have the WinME CD.


0

Response Number 7
Name: thegorx
Date: September 10, 2002 at 05:07:54 Pacific
Reply:

yes, it might be those PIF files
right click on the command.pif
then properties
somethings not right there.

I remember off hand but I've seen it before

TheGorx
Windows Help



0

Response Number 8
Name: Sonty
Date: September 10, 2002 at 07:48:21 Pacific
Reply:

What should I be looking for? Here are some properties of command.pif in C:\WINDOWS

Attributes:Archive
Cmd line: C:\WINDOWS\COMMAND.COM
Everything Auto under memory tab.

Still don't know why I'm not even getting an error message.



0

Response Number 9
Name: thegorx
Date: September 10, 2002 at 19:21:44 Pacific
Reply:

I can't think off hand
if the command line is ok
it's was awhile ago since I had a problem like this.

try creating a batch file
open note pad
type

path >1.txt

then save as all files
path.bat

then click on the path.bat file
then look at the path in the new 1.txt file.

my thinking is your not getting an error because it's just doing what it was told.

also if you copied a different version of DOS to the root drive it may cause problems.

that autoexec.bat file seem to have alot of junk there.

you might check and run
msconfig
and look at the enviroment tab


0

Response Number 10
Name: Ray in Kent WA, USA
Date: September 12, 2002 at 01:02:27 Pacific
Reply:

-- 1 ------------------

Do you see these 3 instances of file
command.com, with the copy in C:\
having attributes Sytem and Hidden?

This info is from my WinME 4.90.3000 system ...

Note that the modification timestamp is
"06-08-2000 5:00pm", same as other WinME system files.

Again, ignore the file in the \WINDOWS\COMMAND\EBD
directory, except to note that its attributes are
exactly the same as the file in \WINDOWS .

(Note: Output here has been condensed.)


C:\> ver
Windows Millennium [Version 4.90.3000]


C:\> attrib /s C:\command.com
A C:\WINDOWS\COMMAND\EBD\COMMAND.COM
A C:\WINDOWS\COMMAND.COM
SH C:\COMMAND.COM


C:\> dir /ash C:\command.com

Directory of C:\

93,040 06-08-00 5:00p COMMAND.COM


C:\> dir /s C:\command.com

Directory of C:\WINDOWS

93,040 06-08-00 5:00p COMMAND.COM

Directory of C:\WINDOWS\COMMAND\EBD

93,040 06-08-00 5:00p COMMAND.COM

-- 2 ------------------

I see nothing wrong with your autoexec.bat file.
I'm guessing you have the GNAT Ada programming system
installed.

I have ActiveState's Perl installed, and my
autoexec.bat file looks like this:

C:\> type autoexec.bat
SET COMSPEC=C:\WINDOWS\COMMAND.COM
SET windir=C:\WINDOWS
SET winbootdir=C:\WINDOWS
SET PROMPT=$p$g
SET TEMP=C:\Windows\temp
SET TMP=C:\Windows\temp
SET PATH=C:\Perl\bin\;C:\Windows;C:\Windows\Command
SET DIRCMD=/Ogne

(The DIRCMD env var causes DIR output to be sorted by
name and then extension, with directories listed first.)

-- 3 -------------------

My PC's \WINDOWS\COMMAND directory has 42 files (not
counting the EBD sub-dir), and all of those files are
dated "06-08-2000 5pm".

-- 4 -------------------

My PC does NOT have any file DOSSTART.BAT .
You might try renaming that file (to xxxx.BAT.SAV, say) and seeing if that solves the problem.

-- 5 -------------------

Failing this, I'd say you need to find someone nearby with a WinME box and compare the two machines closely. If you can boot to
DOS (from a boot floopy), you could do
these commands on both PCs and then diff the two files:

dir C:\ > A:\dir.list
dir C:\Windows >> A:\dir.list
dir /s C:\Windows\command >> A:\dir.list
-----------------------


0

Response Number 11
Name: Sonty
Date: September 12, 2002 at 04:28:04 Pacific
Reply:

Thanks for all your help guys but still no luck. I will take it to a repair shop.


0

Sponsored Link
Ads by Google
Reply to Message Icon






Post Locked

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


Go to Windows Me Forum Home


Sponsored links

Ads by Google


Results for: Can't run DOS

system restore error and can't run restr www.computing.net/answers/windows-me/system-restore-error-and-cant-run-restr/6674.html

Can't open dos promt www.computing.net/answers/windows-me/cant-open-dos-promt/37854.html

can't run .exe files www.computing.net/answers/windows-me/cant-run-exe-files/42569.html