🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: free.it.visual-basic
Article #2449

Cancellazione file all'interno di cartelle con nomi random

#2449
From: Grifisx
Date: Mon, 05 May 2003 19:35
19 lines
1912 bytes
Allora dovrei riuscire a fare questo :
Ho 1 cartella nascosta chiamata NewTemp, all'interno ci sono 6 sottocartelle
con nomi random
io dovrei fare un programma che cancelli tutti i file contenuti nella
cartella NewTemp e nelle sottocartelle(di cui non posso conoscere
anticipatamente il nome ) ad esclusione dei file .dat
Qualcuno potrebbe darmi un aiuto su come codare un programma del genere?
Tnx anticipatamente
Scusate se ho postato lo stesso msg  anke su un'altro NG non e' mia
abitudine farlo ma mi serve una risposta in breve tempo : | .
...infondo essere gelosi della conoscenza e della sua diffusione l'ho sempre
reputato stupido ^_^


[Grifisx@root]#perl
> s FFxfF.s FxF\0\x47F.s FfF\162F.s F$F\151fF;$f=$_;$_="";s FF\151\163fF.s
FfFxF;$_=$f.$_;print;
Grifisx
[Grifisx@root]#_
Technical Details
Message-ID: <_1zta.46333$3M4.1254377@news1.tin.it>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!64.152.100.70.MISMATCH!sjc70.webusenet.com!news.webusenet.com!newsfeed.bc.tac.net!newsfeed.telusplanet.net!xmission!nntp.infostrada.it!newsfeeder.edisontel.com!news-out.tin.it!news-in.tin.it!news1.tin.it.POSTED!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ITALIAN,ASCII-7-bit
X-Google-Thread: f94ee,214e4b5175a3dbba,start
X-Google-Attributes: gidf94ee,public
X-Google-ArrivalTime: 2003-05-05 12:35:52 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!64.152.100.70.MISMATCH!sjc70.webusenet.com!news.webusenet.com!newsfeed.bc.tac.net!newsfeed.telusplanet.net!xmission!nntp.infostrada.it!newsfeeder.edisontel.com!news-out.tin.it!news-in.tin.it!news1.tin.it.POSTED!not-for-mail
From: "Grifisx" <Hell2@you.it>
Newsgroups: free.it.visual-basic
Subject: Cancellazione file all'interno di cartelle con nomi random 
Lines: 24
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2600.0000
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
Message-ID: <_1zta.46333$3M4.1254377@news1.tin.it>
Date: Mon, 05 May 2003 19:35:22 GMT
NNTP-Posting-Host: 80.181.195.30
X-Complaints-To: newsmaster@tin.it
X-Trace: news1.tin.it 1052163322 80.181.195.30 (Mon, 05 May 2003 21:35:22 MET DST)
NNTP-Posting-Date: Mon, 05 May 2003 21:35:22 MET DST
Organization: TIN