Article View: borland.public.jbuilder.java.api
Article #481Re: ShellExecute()
From: Dave S.
Date: Tue, 23 Sep 2003 11:50
Date: Tue, 23 Sep 2003 11:50
15 lines
1351 bytes
1351 bytes
Hello,
try:
Runtime.exec ("file.exe");
Regards.
"Mike Shultz" <no@where.com> a οΏ½crit dans le message de
news:3f702bef@newsgroups.borland.com...
>
> How can I run some app (notepad.exe, my.bat...) from Java code?
Windows have ShellExecute() API function.
>
>
>
Technical Details
Message-ID:
<bkpc31$l3d$1@news-reader3.wanadoo.fr>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-06!sn-xit-08!supernews.com!newsswitch.lcs.mit.edu!newsfeed.cwix.com!newsfeed.icl.net!newsfeed.fjserv.net!proxad.net!wanadoo.fr!not-for-mailReferences:
<3f702bef@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII X-Google-Thread: 1089d0,cd2152e768066b27 X-Google-Attributes: gid1089d0,public X-Google-ArrivalTime: 2003-09-23 04:52:08 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-06!sn-xit-08!supernews.com!newsswitch.lcs.mit.edu!newsfeed.cwix.com!newsfeed.icl.net!newsfeed.fjserv.net!proxad.net!wanadoo.fr!not-for-mail From: "Dave S." <stop@leSpam.fr> Newsgroups: borland.public.jbuilder.java.api Subject: Re: ShellExecute() Date: Tue, 23 Sep 2003 13:50:54 +0200 Organization: Wanadoo, l'internet avec France Telecom Lines: 17 Message-ID: <bkpc31$l3d$1@news-reader3.wanadoo.fr> References: <3f702bef@newsgroups.borland.com> NNTP-Posting-Host: anice-106-1-7-153.w81-48.abo.wanadoo.fr X-Trace: news-reader3.wanadoo.fr 1064317857 21613 81.48.148.153 (23 Sep 2003 11:50:57 GMT) X-Complaints-To: abuse@wanadoo.fr NNTP-Posting-Date: 23 Sep 2003 11:50:57 GMT X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165