Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
Im running Win98SE, whenever i start the computer, i get the usual MODE PAGE completed,on a blank screen, but just below it it says "BAD COMMAND OR FILENAME"
then windows continues to load.
Does anyone know whats happened or if its any cause for concern? Everything else works fine, i've just never seen this error before.

It's unlikely to cause any harm but neater to do as WhitPhil suggested so that you can hopefully get rid of the offending entry.

Thanks folks,
When i run autoexec.bat i get:
"C:\>REM [header]
DOSKey already installed
MODE prepare code page function completed
MODE select code page function completed
Bad command or file name"Windows finds SULFNBK.exe in a WINDOWS\COMMAND folder.

Aha, not quite what we wanted I don't think.
Make a copy of your autoexec.bat file and plonk it somewhere. Go to this copy and change the extension from .bat to .txt
Now double click on it and copy/paste the text back to this posting.
BTW sulfnbk.exe is normally in
c:\windows\command so that is quite normal.
It has a strange icon but don't worry about it (it's for a long filenames function).

this is what i get when i go to edit the autoexec.bat file:
@C:\PROGRA~1\GRISOFT\AVG6\bootup.exe
REM [Header]
@ECHO OFF
REM [CD-ROM Drive]
rem - By Windows Setup - c:\windows\COMMAND\mscdex /d:mscd000REM [Miscellaneous]
c:\windows\COMMAND\doskey
rem - By Windows Setup - c:\realmode\mouseREM [Display]
mode con codepage prepare=((850) c:\windows\COMMAND\ega.cpi)
mode con codepage select=850
keyb uk,,c:\windows\COMMAND\keyboard.sys
SET PATH=C:\BITWARE\;C:\PROGRA~1\REDSTR~1\ULTRAW~1
uwboot

First bear in mind that the only reason you actually need autoexec.bat is for DOS applications. Windows will actually run without it.
Having said that your AVG virus checker uses DOS to do a bootscan so obviously this is "essential". You have also got arrangements to set your keyboard correctly when you are in DOS (otherwise you may have some keys transposed). It looks like you are a UK user??
I actuallyt prefer to put this keyboard stuff in dosstart.bat (in a much simpler form) because there is no reason to load up DOS keyboard fixes each time you start Windows, only when you shut-down to DOS.
"Echo off" is just a command which prevents DOS repeating text all over the screen.
Anything with REM in front of is becomes just a reminder, so it's completely disregarded. Often previous old commands are left like this, just in case you should ever want to put them back.
Getting back to your question (at last) it seems that there is only one questionable item, this bit:
SET PATH=C:\BITWARE\;C:\PROGRA~1\REDSTR~1\ULTRAW~1
uwbootHave a look in Windows and see if you have a folder c:\bitware (whatever that is) also a sub-folder in c:\program files which start with "redstr" and a file within this which starts with "ultraw". I trust you are aware of the DOS short file names concept.
My guess is that this SET PATH stuff, and all that follows, is trying to call up folders/files which no longer exist and that is why you are getting this harmless error message. I reckon it could all be removed (but wise men always preserve copies of files first).
Because you are on W98 you can cheat!
Type msconfig in the Run box and open the tab "autoexec.bat". You can then simply uncheck this particular chunk and give it a whirl. If it does the trick then you either leave it like that or edit it permantly out of the file (using either Notepad from Windows or the Edit command from DOS).Hope this lot helps. Let me know how you get on.
Derek

Hi Derek,
Yes i am a UK user! All the way from the North West of England!
I followed your steps in msconfig and it did the trick! I found that REDSTRike and ULTRAWipe where all part of a programme i uninstalled the day before all this happened. Obviously it left files on my pc so i deleted them manually and simply unchecked the box for it in msconfig.As im not a very experienced user of windows, ill leave it how it is now as it runs normally now.
Many many thanks for your time, patience and help, i appreciate it.
Kind regards
Craig.

Just in case you look back.
Ok, fine, problem solved..........
IF you every feel like tidying up autoexec.bat then do this:-
First save a copy of it somewhere or other (just in case you get anything wrong).
Now rename your c:\autoexec.bat file to autoexec.txt
Double clik on it and it will come up in Notepad.
Make sure you always have "complete lines" and remove everything except:
@C:\PROGRA~1\GRISOFT\AVG6\bootup.exe
mode con codepage prepare=((850) c:\windows\COMMAND\ega.cpi)
mode con codepage select=850
keyb uk,,c:\windows\COMMAND\keyboard.sysThe first line above is your virus checker (essential) and the rest is your DOS UK keyboard - it may not look quite like this so use your skill and judgement! There are better ways of getting a UK keyboard, but fine to settle with the strange approach MS use for this.
Make sure you have nothing in the way of spaces or Return's before the first character of this file and the very last character (this is the nature of batch files).
Now rename it back from autoexec.txt to autoexec.txt
Have a look in msconfig to ensure you are happy with what you see, in particular that virus checker line should be present. Re-boot and away you go. If there is anything you don't like then just copy back your orginal autoexec.bat and give up!
Remember that Windows will boot up without autoexec.bat at all, so there is no real need to worry.
Note: I have assumed you really want the UK keyboard in DOS. I wouldn't be without it but if you never use DOS for games etc then all you really need is your virus checker line (the Grisoft one).
Derek

....ooops typo
This bit:
Now rename it back from autoexec.txt to autoexec.txtShould have read:
Now rename it back from autoexec.txt to autoexec.bat

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

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