Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » Eclipse Problems with batchfile
Eclipse Problems with batchfile [message #102264] Wed, 08 October 2003 13: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: Mon May 05 08:58:29 EDT 2025

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

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

Back to the top