-
Member
I need help with my autoexec file
I changed it since I got my java compiler installed again. I first changed the path to where my java compiler is located. I also changed the classpath to say set classpath=. Because it was showing set classpath=c:\program files\adobe\etc and that wont let you run programs. Well it works fine, but as soon as I go into dos, it says bad command. And it always erases the line that says "set classpath=". I changed it back to the adobe directory it was on and I still get a bad command. Here's my whole file. Maybe I missed something:
SET windir=C:\WINDOWS
SET winbootdir=C:\WINDOWS
SET COMSPEC=C:\WINDOWS\COMMAND.COM
SET PATH=C:\jdk1.2.2\bin
SET PROMPT=$p$g
SET TEMP=C:\WINDOWS\TEMP
SET TMP=C:\WINDOWS\TEMP
what in that would cause a bad command?
-
Bad command means dos doesn't recognize the command you supply. Set is a valid command so it can't cause that.
It says bad command even thou you don't do anything? Could you supply the full autoexec.bat instead of the environmental values only?
-M
-
Member
That is the full file. I'm running Windows ME if that makes any difference. Maybe it doesnt have anything to do with this file...but what else would affect it?
-
Banned
I don't think autoexec.bat problem.
When you say:
I'll assume that means DOS box, not boot to DOS. Anyway, check the properties on command.com, Program tab. See if you are running something every time you start a DOS box. Heck check all tabs whilst you are at it...
BTW, in DOS box type 'path', hit enter. Are all of your environment vars set as in autoexec?
-
Member
Yeah I dont boot into DOS to compile. I didn't see anythign in command.com properties out of the ordinary. Just selections for window size, fonts, mouse, etc. My path is just set at my java directory. Maybe I need path=c:\windows;c:\jdk1.2.2.\bin. But the path is the last line on the autoexec file.....
-
Rhino302
Your path statement in Autoexec.bat is inaccurate. It should read -
PATH=C:\jdk1.2.2\bin;C:\Windows;C:\Windows\Command ;A:\
No other command lines (e.g., classpath) are needed except the ones that are usually run in Autoexec.bat.
If you still have a problem after entering this line, re-install your OS. It will set the record straight.
Michael Chiew
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
New Security Features Planned for Firefox 4
Another Laptop Theft Exposes 21K Patients' Data
Oracle Hits to Road to Pitch Data Center Plans
Microsoft Preps Array of Windows Patches
Microsoft Nears IE9 Beta With Final Preview
Simplified Analytics Improve CRM, BI Tools
Android Passes RIM as Top Mobile OS in 2Q
VMware Updates Hyperic System Management
File Monitoring Key to Enterprise Security
LinkedIn Snaps Up SaaS Player mSpoke
|
Bookmarks