|Posted on Friday, October 12, 2001 - 11:55 pm: |
Can someone tell me why my Run command cant find command.com? (Win98se) Typing "command" does not work, but "msconfig" does work. When I noticed this, at the same time I noticed that Start/Help does nothing when I click on it...however Find works ok.
This is the error message I get when I try to run Command:
Cannot find the file 'C:\Windows\Command.pif'
Make sure the file exists on your system and that the path and filename are correct
Why has Run suddenly decided to look for command.pif instead of command.com? When I tried entering C:\Command.com or C:\Windows\Command.com into Run, it still gave me the same error message. Obviously Command.com is there, but Run can't find it now...
Help! I can't get any Help menus (in any program or from start menu) to work either....
I ran scanreg to see if that helped...no difference.
|Posted on Saturday, October 13, 2001 - 7:32 am: |
run system information utility.
up on the menu in tools try running system file checker.
|Posted on Saturday, October 13, 2001 - 8:19 am: |
Vera left out a few things. Before you run the System File Checker, have your Windows CD-ROM handy, in case you need to restore any files. Read the info about changed/missing/corrupted files carefully. If it is merely a version change to a later version, it is usually safe to Update the info without restoring the file. In fact in many such cases it is best not to revert to the old version, since this can cause problems with sofware you have installed afted the intitial Windows installation. If this fails to fix the problem, you should run Windows Setup again.
|Posted on Saturday, October 13, 2001 - 9:00 am: |
Also, you should understand that Windows has been looking for command.pif the whole time. Command.COM is a DOS-based program, and like all DOS software that is run under Windows, the first time you run it, Windows creates a PIF (Program Information File) for it. and gives it the same name with the .pif extension. Whenever you tell Windows to execute a program by typing its name with no extension, Windows uses a search order, prioritized by extension. The order goes something like this: first .bat, then .pif, .com, .exe, etc. To restore command.pif all you have to do is type command.com (not command.exe--there is no such file) in the Run dialog, and it will be there the next time you simply type "command".
|Posted on Saturday, October 13, 2001 - 10:54 pm: |
Thank you Michael...didn't know about the .pifs =)
I ended up running setup again...sfc did restore some files but then afterwards it wouldn't boot into windows at all. Tis fixed now...I think.