🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.language
Article #390

Problem with Runtime.getRuntime().exec

#390
From: tolis
Date: Tue, 24 May 2005 11:41
29 lines
1476 bytes
Hi ,
i'm using jBuilderX and windows 2000 server . My problem is that i can't
find why
in my code it doesn't work this:

.................
import java.lang.*;
.................

String command = new String("c:\\testd\\testf.bat");      // testf.bat -
batch file
Runtime.getRuntime().exec(command);                         // it doesn't
have any effect
..................................



Thanks in advance,
Hatziyannis Apostolis








-- 
______________________________
Technical Details
Message-ID: <4293126c@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news2.google.com!newsread.com!news-xfer.newsread.com!newspeer.monmouth.com!newsgate.cistron.nl!newsfeed.bit.nl!border1.nntp.ams.giganews.com!nntp.giganews.com!pe2.news.blueyonder.co.uk!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: f74b3,cf4ff3ee2b62af50,start
X-Google-Attributes: gidf74b3,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "tolis" <apostolish@orbis.gr>
Newsgroups: borland.public.jbuilder.java.language
Subject: Problem with Runtime.getRuntime().exec
Date: Tue, 24 May 2005 14:41:20 +0300
Lines: 31
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1437
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441
NNTP-Posting-Host: 193.92.231.144
Message-ID: <4293126c@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1116934764 193.92.231.144 (24 May 2005 04:39:24 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news2.google.com!newsread.com!news-xfer.newsread.com!newspeer.monmouth.com!newsgate.cistron.nl!newsfeed.bit.nl!border1.nntp.ams.giganews.com!nntp.giganews.com!pe2.news.blueyonder.co.uk!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail