Board index » jbuilder » ShellExecute()

ShellExecute()


2003-09-23 07:17:07 PM
jbuilder13
How can I run some app (notepad.exe, my.bat...) from Java code? Windows have ShellExecute() API function.
 
 

Re:ShellExecute()

Hello,
try:
Runtime.exec ("file.exe");
Regards.
"Mike Shultz" < XXXX@XXXXX.COM >a écrit dans le message de
Quote

How can I run some app (notepad.exe, my.bat...) from Java code?
Windows have ShellExecute() API function.



 

Re:ShellExecute()

On 9/27/2003 at 9:13:56 AM, Owen Green wrote:
Quote
Runtime.execute().
Minor correction: Runtime.exec()
--
Regards,
John McGrath [TeamB]
---------------------------------------------------
Before sending me e-mail, please read:
www.JPMcGrath.net/newsgroups/e-mail.html
 

{smallsort}