๐Ÿš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

codice che legge STRUTTURA CARTELLE

#138
From: LMICUCCI
Date: Sat, 08 Jan 2011 15:41
22 lines
2021 bytes
Ciao a tutti
ho paura che il mio quesito sia l'inverso di quello che normalmente
viene posto...

ho bisogno di un codice (VBA excel) che legga in un certo pathname e
mi renda...in un file xls o txt l'elenco di subcartelle e relativi
file che si trovano "dopo" il pathname indicato

Per esempio dalla cartella "c:\documenti" vorrei una seguenza di
codici che vada a leggere tutto quello che c'รจ dopo... e mi renda, in
xls o txt, qualcosa come
\immagini\vacanze2010\img000001.jpg
\immagini\vacanze2010\img000002.jpg
\immagini\vacanze2010\img000002.jpg
\immagini\vacanze2010\img000003.jpg
\immagini\vacanze2010\img000004.jpg
\immagini\vacanze2010\img000005.jpg
\immagini\vacanze2009\img000001.jpg
etc etc

ringrazio tutti in anticipo (se la risposa al mio quesito รจ in un
altro post...scusate)
Technical Details
Message-ID: <1bd2f64d-ad6f-47f1-a129-94fb376440b3@v17g2000vbo.googlegroups.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!postnews.google.com!v17g2000vbo.googlegroups.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: f94ee,72fdbb379a812352,start
X-Google-NewGroupId: yes
X-Google-Attributes: gid3de4ef2fba,domainid0,public,usenet
X-Google-Language: ITALIAN,ASCII
Path: arc1-ca.pugleaf.net!g2news1.google.com!postnews.google.com!v17g2000vbo.googlegroups.com!not-for-mail
From: LMICUCCI <lorenzo.micucci@gmail.com>
Newsgroups: free.it.visual-basic
Subject: codice che legge STRUTTURA CARTELLE
Date: Sat, 8 Jan 2011 07:41:00 -0800 (PST)
Organization: http://groups.google.com
Lines: 22
Message-ID: <1bd2f64d-ad6f-47f1-a129-94fb376440b3@v17g2000vbo.googlegroups.com>
NNTP-Posting-Host: 94.161.95.88
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
X-Trace: posting.google.com 1294501260 9883 127.0.0.1 (8 Jan 2011 15:41:00 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Sat, 8 Jan 2011 15:41:00 +0000 (UTC)
Complaints-To: groups-abuse@google.com
Injection-Info: v17g2000vbo.googlegroups.com; posting-host=94.161.95.88; posting-account=BLjlpwoAAAByNOt-MNic6rbd3vHUy1ir
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; it; rv:1.9.2.13)
 Gecko/20101203 Firefox/3.6.13 ( .NET CLR 3.5.30729),gzip(gfe)