🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: un po complicato...

#434
From: rIO
Date: Thu, 20 Apr 2006 22:53
27 lines
1993 bytes
NewsGoup wrote:
> Buonasera,
> cercavo di fare un comando di una mia applicazione che trovasse tutti i file 
> *.txt presenti nel disco locale "C:\" e vedere all'interno se esistesse poi 
> una data stabilita ( qui in azienda tutti i file txt devono avere una data ) 
> e codesti file, aventi la specifica data li portasse in un altra cartella 
> sempre da me stabilita.
> 
> Io, cercavo solamente di capire il modo di come trovare i file all'interno 
> di tutto il disco locale "C:\" (all'interno di tutto il pc) e trovare questa 
> data, il resto gia � fatto.
> 
>  Anche se non sapete il metodo mi basterebbe anche qualcosa da cui reperire 
> informazioni.
> 

Direi di usare il filesystemobject per gestire l'albero delle directory 
in cui cercare.
Ma credo che parlando di una rete ti ci vorra' un secolo anche se si 
tratta di due soli PC.

In alternativa guarda queste classi che usano le APi di Win...

http://www.freevbcode.com/ShowCode.Asp?ID=2318

-- 
rIO.sK
Technical Details
Message-ID: <444810da$0$18299$4fafbaef@reader1.news.tin.it>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news4.google.com!news.glorb.com!feeder.news.tin.it!spool.news.tin.it!not-for-mail
References: <MNO1g.388$TK.54@tornado.fastwebnet.it>

Show Full Headers
Complete Article Headers
X-Google-Thread: f94ee,6605bb6efc6c9ced
X-Google-Attributes: gidf94ee,public
X-Google-Language: ITALIAN,ASCII
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news4.google.com!news.glorb.com!feeder.news.tin.it!spool.news.tin.it!not-for-mail
Date: Fri, 21 Apr 2006 00:53:14 +0200
From: rIO <rIO@spittingpimps.org>
User-Agent: Thunderbird 1.5 (Windows/20051201)
MIME-Version: 1.0
Newsgroups: free.it.visual-basic
Subject: Re: un po complicato...
References: <MNO1g.388$TK.54@tornado.fastwebnet.it>
In-Reply-To: <MNO1g.388$TK.54@tornado.fastwebnet.it>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 8bit
Lines: 27
Message-ID: <444810da$0$18299$4fafbaef@reader1.news.tin.it>
Organization: TIN.IT (http://www.tin.it)
X-Comments: Please send technical notifications to newsmaster@tin.it
NNTP-Posting-Host: 87.4.200.108
X-Trace: 1145573594 reader1.news.tin.it 18299 87.4.200.108:62538
X-Complaints-To: Please send abuse reports to abuse@tin.it