Cannot find file

  kgman 23:52 01 Aug 03

As my desktop loads on Win98 i get the following message on my desktop;

"Cannot find file 'C:\WINDOWS\' make sure the file exists on your system and the path and filenames are correct."

I have fouund the file on the hard drive it is not in the Windows Command Folder.
Can anyone advise how i can get rid of message or cure problem?

  BBez 23:55 01 Aug 03

check your "config.sys" and "autoexec.bat" files for configuration errors (if used).

Also if Win98, make a startup floppy disk in add/remove programs, reboot pc with the boot floppy disk and at the a:\ prompt type "sys c:" without the quotes and with a space between the sys and the "c"

  kgman 00:40 02 Aug 03

BBez Checked config. and autoexec. via Run-Msconfig.
config.sys was clear autoexec.bat has the following line written in it 'C:\Progra~1\common~1\networ~1\viruss~\40~1xx\scanpm.exeC' I think this was from when i ran Macafee Virus scan and was following some sort of instruction from tech support to try and cure a supposed virus on my PC.

  BBez 01:35 02 Aug 03

did you run the "sys c:" from a startup disk..?

  DieSse 08:18 02 Aug 03

Try copying into the C:\windows\command\ folder. That's where it normally resides.

  pj123 11:05 02 Aug 03

For Windows 98 there are two copies of "" the file should be about 93,890kb. One is in the root of C:\ and the other is in C:\windows not in the C:\windows\command folder.

  DieSse 11:52 02 Aug 03

Thanks - no longer have Win98 and was trying to rely on memory - shouldn't at my advanced age ;-))

  pj123 13:25 02 Aug 03

DieSse, sorry, not knocking you but just looked on my PC and found both. C:\windows\command only contains the few old DOS commands still available to windows users.

  kgman 15:38 02 Aug 03

BBez, sorry i did not get back to you.
Yes, entered sys c:, screen showing, system transfer, then nothing happens

  martjc 16:42 02 Aug 03

If it is, say, in the root [C:\] then the following should help:

Put a line in Autoexec.bat saying: Comspec=c:\

Make sure it is the ONLY comspec used.

  kgman 18:46 02 Aug 03

As requested entered line in autoexec.
As system restarted, on bootup screen, before windows loaded got the following -
'A:\Bad command or file name.'
Windows continues to load, same warning box on desktop "C:\WINDOWS\"

This thread is now locked and can not be replied to.

Microsoft Surface PC release date, price and specs: All-in-one Surface PC to directly rival iMac

1995-2015: How technology has changed the world in 20 years

Best Photoshop video tutorials: 8 video tutorial websites for Photoshop

Apple's event invitations decoded: A look back at 16 of Apple's most cryptic invites | Clues in…