|
Answer» :-?
I am trying to do some programming with Java. I need to modify the DOS autoexec.bat file in order to access the Java compiler. Can someone pls help me by guiding me through the steps for: 1. copying the autoexec.bat file and save it under a different extension eg .txt so that I can use it back if the modified file does not work, I can use the OLD file back. 2. open the autoexec.bat file to modify it and 3. how to save the modified file.Open Autoexec.bat using Notepad.
Click on File>Save As and in the File Name box type "autoexec.old" - you have now saved a copy of your EXISTING autoexec.bat.
Amend the autoexec.bat you opened in Notepad then click on File>Save As and in the File Name box type "autoexec.bat" - you have now saved your new autoexec.bat
Click YES to the message asking if you want to replace Autoexec.bat.
Close Notepad.
[highlight]Note[/highlight]: the double quotes " " are required around the autoexec filenames where they are shown above.
Also see Valerie's reply to your query on the Easy Dos forum.
Good luckNo need to do that...Right click My Computer, goto properties, click the advanced tab, click the environment variables BUTTON, look where it says "System Variables", scroll down to where you see "Path", and just add the path of where Java was installed. If you need help look here. I do programming in Java DAILY for the most part(depending on if I have time) as I am working on an RPG game for a school project. And a good IDE is Jcreator and you can download it here.
|