Where are the test.* files? CF is probably looking in
jrun4/bin for them, where it runs. I would try fully qualifying the
files with paths to start.
I also find creating a .BAT file that runs your exe, useful.
That way you can specify environment variables and CD to the
directory you want, etc. The line:
C:\JRun4\servers\cfusion\cfusion-ear\cfusion-war\test\license_gen.exe
%1 %2
in you batch file will allow you to pass 2 arguments to the
exe.