| 1. |
Solve : batch script?? |
|
Answer» I have downloaded NotePad++, and, according to the ONLINE HELP (see page at http://npp-community.tuxfamily.org/documentation/notepad-user-manual/commands), it seems possible to run a command that would allow me to execute a scripted file. compile_a_java_program.bat $(FULL_CURRENT_PATH) If necessary, add path info for your batch file. You batch file might need a tweak or TWO: Code: [Select]@echo off javac %1 cd /d %~dp1 java %~n1 pause I threw in the pause so you can see the result before the WINDOW closes. I also added a CD command to navigate to the directory where the class file lives, just in case the directory is not on the classpath variable. Good luck. |
|