From: bankyman AT aol DOT com (Banky Man) Newsgroups: comp.os.msdos.djgpp Subject: "Bad command or file name" message in RHIDE Lines: 39 NNTP-Posting-Host: ladder07.news.aol.com X-Admin: news AT aol DOT com Date: 13 Feb 2000 00:40:37 GMT Organization: AOL http://www.aol.com Message-ID: <20000212194037.21887.00000708@ng-fi1.aol.com> To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Hello.. I had been using DJGPP and RHIDE for a while, but just recently I started getting the error message "Bad command or file name" when compiling and running a program from within RHIDE. It happens after I click OK for the "Program Exit Code: 0 (0x0000)" window. A black window comes up titled "contents of stderr from myproject.exe". This never used to happen, and I'm not sure why it started. I even deleted my entire installation of DJGPP and RHIDE and reinstalled it from the original zip files. Then I created just a simple source file to make sure I wasn't causing the problem with my code or anything. The program I made is // filename: hello.cpp #include int main() { cout << "hello"; return 0; } Yet I still get the "contents of stderr from hello.exe" window with the "Bad command or file name" message. I've tried doing Compile, Make, Link, and Build All individually, and they all work fine; the problem comes when I try to Run. But the weirdness doesn't end there. If I execute the .exe file outside of RHIDE, it works fine. And if I do Run > Step Over for every line of code, and then run the program after that, it works fine. And if I compile and run the program from the command line (gxx -o hello.exe hello.cpp), it works fine. I'm really quite perplexed, because RHIDE was not so troublesome up until a few weeks ago when this started happening, and now it won't ever work. It seems to me that the problem is that it's not locating the executable file once it's done compiling, linking, etc., but I could be wrong. Does anyone know what's going on? (note: I have Win98 and run RHIDE v1.4) Thank you, Frustrated Mike