Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » Eclipse Problems with batchfile
Eclipse Problems with batchfile [message #102264] Wed, 08 October 2003 17:23
Eclipse UserFriend
Originally posted by: pasci81.hotmail.com

The problem is that i can run a batchfile with java in the cmd (dos
console) but in eclipse is this not possible.

build.bat just the line "ant kill" include for doing

If in the batchfile for example Notepad.exe then run in twice (eclipse and
CMD)?????????????

This is the source:
String batchFileLocation = "build.bat";
String command1 = "cmd.exe /c " + batchFileLocation;
Runtime runtime = Runtime.getRuntime();
Process p1 = runtime.exec(command1);
Previous Topic:rename field/parameter/local variable should leave suffix/postfix alone
Next Topic:importing a projects set into workspace in programming
Goto Forum:
  


Current Time: Fri Aug 16 19:11:18 GMT 2024

Powered by FUDForum. Page generated in 0.02840 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top