A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Java in General
Joined: Mar 15, 2000
Jan 30, 2002 10:31:00
How do I run DOS commands from a
Joined: Sep 29, 2000
Jan 30, 2002 14:06:00
Basically you need to use a variation of:
Runtime.getRuntime().exec("cmd /c start myfile.bat");
Do a search on "Runtime exec start" and you will find lots of discussions about this.
With a little knowledge, a
cast iron skillet
is non-stick and lasts a lifetime.
subject: running dos
How to start Tomcat?
What are the most common IDEs SCJP programmers are using?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014