|
-
Mar 6th, 2001, 02:15 AM
#1
Thread Starter
Lively Member
i have a problem booting up my computer. it say type in the name of your command line interpreter eg.C\Windows\command.com. when i do that it says windows 95 and takes me to the c prompt. how do i get windows to open.
-
Mar 6th, 2001, 02:29 AM
#2
Frenzied Member
Well if you're getting to a command prompt, try typing this:
and see if Windows starts. It might do, but it might not if your path info isn't set up.
Sounds like either command.com has got lost, or the path in your autoexec.bat has got changed.
From the sounds of it, you're typing in C:\Windows\command.com as suggested, yes? Check in the file c:\autoexec.bat and see what it's setting your path to. It will be something along the lines of:
Code:
SET PATH=C:\WINDOWS;C:\WINDOWS\SYSTEM
SET PATH=%PATH%;C:\UTILS
I doubt it will actually look the same as that but something similar.
When you get to the C:\> prompt, enter this to find command.com:
Code:
C:\>dir command.com /s
check what directory name(s) come up. It will probably be found in C:\WINDOWS in which case you need to make sure C:\WINDOWS is in your path, set in autoexec.bat.
You make sure of that by adding
Code:
SET PATH=%PATH%;C:\WINDOWS
to autoexec.bat.
Harry.
"From one thing, know ten thousand things."
-
Mar 6th, 2001, 02:44 AM
#3
Thread Starter
Lively Member
how
how do i check the autoexec.bat file. i typed in autoexec.bat and nothing happened. and do i set the path exactly how you wrote it.
-
Mar 6th, 2001, 03:36 AM
#4
Frenzied Member
Well its probably easiest if you post the contents of your autoexec.bat file. Since you're posting this, I'm guessing you have a second computer?
autoexec.bat is located in the root directory, c:\
If you put a floppy disk in the disk drive and type at the prompt:
Code:
C:\>copy c:\autoexec.bat a:\
that will copy the file to the floppy disk. Then if you put the disk in whichever copmuter you're using for internet access, you can open the autoexec.bat file using Notepad (it's a plain text format file) and copy & paste the contents of the file into a post here on this forum. Then we can take a look and see what could be wrong 
It sounds like your main problem is that you're unfamiliar with DOS, so if you feel confident in editing it yourself in Notepad feel free. Once you have changed the contents, save the file to disk and put it back in your old computer.
It's a good idea to make a backup of the file first, so in your problem computer type:
Code:
C:\>copy c:\autoexec.bat c:\autoexec.bak
that will make a backup copy called autoexec.bak.
then copy your modified autoexec.bat file from the disk like this:
Code:
C:\>copy a:\autoexec.bat c:\
and when it prompts you to overwrite the file press 'y'.
You can edit the file on the old computer if you don't want to paste the contents of the file up here. just type this:
Code:
C:\>edit c:\autoexec.bat
The only problem with that is that Edit is a program that might not be included in your path settings, so you may have to find the file first and qualify the file name with its full path.
Since you don't seem too comfortable with DOS it might be a bit complicated to edit it on that machine. If you want to edit it on the oroginal machine, just say and I can try to explain it a little better.
Harry.
"From one thing, know ten thousand things."
-
Mar 6th, 2001, 04:35 AM
#5
Thread Starter
Lively Member
here
here it is, help.
Code:
@ECHO OFF
REM
REM
REM
PATH C:\PROGRA~1\MICROS~4\OFFICE;c:\windows;c:\windows\command;c:\dos
if exist toscd001 LH c:\windows\command\mscdex /L:D /D:TOSCD001 /M:10
Last edited by kokopeli; Mar 6th, 2001 at 04:38 AM.
Kokopeli
VB6 SP3
-
Mar 6th, 2001, 05:07 AM
#6
Frenzied Member
okay, see if you can find command.com on the computer, and make sure that the directory it's in is included in that list of paths.
Harry.
"From one thing, know ten thousand things."
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|