Can I run external file from the script file?
e.g I want to run javac and java from a script file where the file will be current document .java file. Is it possible.
N.B. I have tried WScript.CreateObject("WScript.Shell"), but it is not working.
Running a program
Re: Running a program
While I'm not sure how to call an external program from a script, you could always write a DOS batch file that contains your commands and accepts appropriate arguments from the command line. Then, just define a custom tool in TextEd to call your batch file and pass the info needed. I think that would get you to the same place as calling the java tools from a script.
Jeff
Jeff