Basically I'm a lazy !@#$% so instead typing all the commands out to make a new java file, I just want to do one to get the base template going. I have this in the file so far:
copy c:\windows\system32\javatemp.java c:\java
ren c:\java\javatemp.java %1.java
open %1.java
In javatemp.java I have
public class $$ {
public static void main(String[] args) {
}
}
I want to replace $$ with %1 (command line parameter). Anyone happen to know if its doable in win xp?