|OK, I was fiddling around with the ME machine to see if I could mimic your error based on the SET variables. Adding a HOME= line made no difference. Then I changed my|
and got the error you mentioned when I ran 'command'. I then changed it to
and didn't get the error. In the first example the OS attempted to go to d:\win98 first, saw nothing was there and gave the error. In the second it went to c:\windows first and found 'command' and stopped there. So it never got to the D: drive.
You need to change your path command so that the windows folders are first. That is, something like this:
You may want to just remove the D: drive references if you don't recognize them.
I think you can do the editing by running msconfig and clicking the 'environment' tab. You could also use notepad or the dos EDIT command, but with dos you need to use the ATTRIB command to unhide it first.