🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.api
Article #344

Re: ShellExecute()

#344
From: Owen Green
Date: Sat, 27 Sep 2003 13:13
10 lines
1135 bytes
On Tue, 23 Sep 2003 13:17:07 +0200, Mike Shultz wrote:

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

Runtime.execute(). 

hth
--
Owen
Technical Details
Message-ID: <xhrb3mz11wui$.dlokdhetbvi3$.dlg@40tude.net>
Path: arc1-ca.pugleaf.net!news1.google.com!sn-xit-03!sn-xit-04!sn-xit-01!sn-xit-08!supernews.com!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <3f702bef@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 1089d0,cd2152e768066b27
X-Google-Attributes: gid1089d0,public
X-Google-ArrivalTime: 2003-09-27 06:44:07 PST
From: Owen Green <o.t.green@ntlworld.com>
Subject: Re: ShellExecute()
Newsgroups: borland.public.jbuilder.java.api
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
References: <3f702bef@newsgroups.borland.com>
Date: Sat, 27 Sep 2003 14:13:56 +0100
Message-ID: <xhrb3mz11wui$.dlokdhetbvi3$.dlg@40tude.net>
User-Agent: 40tude_Dialog/2.0.5.1
NNTP-Posting-Host: 80.1.205.234
X-Trace: newsgroups.borland.com 1064668721 80.1.205.234 (27 Sep 2003 06:18:41 -0700)
Lines: 10
Path: arc1-ca.pugleaf.net!news1.google.com!sn-xit-03!sn-xit-04!sn-xit-01!sn-xit-08!supernews.com!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail