Here's my problem.
I want to write a batch script that automaticly runs Javac to create a class script from a .Java file by dragging the .java file onto the batch script. My script so far is as such.
set file= circleStuff.javaPath=%path%;C:\Program Files\Java\jdk1.6.0_24\bin
cd c:\myprogs
javac %file%as it stands, I can edit the file variable by hand in the batch script, but i want a drag and drop system. Any suggestions?
I imagine something like this: Path=%path%;C:\Program Files\Java\jdk1.6.0_24\bin cd /d "%~dp1" javac "%~nx1"
thank you very much! This works just as I was hoping.
Yes (14) | ![]() | |
No (14) | ![]() | |
I don't know (15) | ![]() |