Regsvr32 returns "bad command or filename"
Posted on 2002-05-03
I have a user who has windows 98 machine. I'm trying to have him manually register a dll. from the c:\windows\system directory when he tries to register it with the regsvr32.exe it returns an error "bad command or filename". Even when he just types regsvr32 and presses enter it gives "bad command or filename". the file is there so that's not the problem. just typing regsvr32 should bring up a messagebox displaying the parameters used for regsvr32. I've even emailed him a regsvr32.exe to try and I've written a batch file to run the command regsvr32 myfile.dll.
Any ideas? Corrupt registry? Does he need to install or reinstall dcom98? He says he's not having any problems with his machine.