🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: pl.comp.lang.java
Article #153808

Re: Jak kasować w Java.

#153808
From: Pawel Lampe
Date: Thu, 02 May 2013 15:05
9 lines
1380 bytes
Nie wiem czy rozważasz użycie do kasowania poleceń systemowych. Jeśli
tak, to może po prostu:

String command = "rm *.rar"; //dla linuxa
Process child = Runtime.getRuntime().exec(command);

String command = "del *.rar"; //dla windowsa, przy czym nie wiem czy to
zadziała bo nie znam się na tym dziadowskim systemie
Process child = Runtime.getRuntime().exec(command);
Technical Details
Message-ID: <87ppx9beww.fsf@sconysoft.com>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!agh.edu.pl!news.agh.edu.pl!newsfeed2.atman.pl!newsfeed.atman.pl!goblin1!goblin.stu.neva.ru!news.glorb.com!news-out.readnews.com!transit4.readnews.com!nx02.iad01.newshosting.com!newshosting.com!newsfeed.neostrada.pl!unt-exc-02.news.neostrada.pl!unt-spo-a-02.news.neostrada.pl!news.neostrada.pl.POSTED!not-for-mail
References: <klt03q$ju3$1@speranza.aioe.org>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!agh.edu.pl!news.agh.edu.pl!newsfeed2.atman.pl!newsfeed.atman.pl!goblin1!goblin.stu.neva.ru!news.glorb.com!news-out.readnews.com!transit4.readnews.com!nx02.iad01.newshosting.com!newshosting.com!newsfeed.neostrada.pl!unt-exc-02.news.neostrada.pl!unt-spo-a-02.news.neostrada.pl!news.neostrada.pl.POSTED!not-for-mail
From: Pawel Lampe <scony@sconysoft.com>
Newsgroups: pl.comp.lang.java
Subject: Re: Jak kasować w Java.
References: <klt03q$ju3$1@speranza.aioe.org>
Date: Thu, 02 May 2013 17:05:35 +0200
Message-ID: <87ppx9beww.fsf@sconysoft.com>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.4 (gnu/linux)
Cancel-Lock: sha1:MYgUNS2HCxb1FiWH/z09xEQVgoc=
MIME-Version: 1.0
Lines: 9
Organization: Telekomunikacja Polska
NNTP-Posting-Host: 83.21.98.246
X-Trace: 1367507135 unt-rea-b-01.news.neostrada.pl 1226 83.21.98.246:41583
X-Complaints-To: abuse@news.neostrada.pl
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit