Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Getting list or table of all files in directory/subs
Message
 
 
À
04/06/2003 08:45:33
Jay Johengen
Altamahaw-Ossipee, Caroline du Nord, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00796080
Message ID:
00796113
Vues:
16
Hi Renoir,

I guess you're using VFP6 and 'AS' clause was introduced in VFP7. You can safely remove 'AS' clause from the LOCAL commandd.
	local oFSO, lni, oFolder, oSubFolder, lvar
>Thanks Sergey! I started with George's but was getting an error in the LOCAL statement so I gave David's a try and it worked great for what I needed.
>
>Renoir
>
>>>What is the easiest way to get a list or table of all the files (*.*) contained in a directory and subsequent subdirectories? I'm working on a project that is poorly structured and there are multiple copies of files and I want to determine the duplicates. Is using ADIR my best bet? Is there a Windows NT solution? Thanks!
>>>
>>>Regards, Renoir
>>
>>There's a couple ways to do that. You can use ADIR() as shown at http://fox.wikis.com/wc.dll?Wiki~RecursionInVFP~VFP or WSH Re: A Friday Tip Thread #633356 Message #633428
--sb--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform