Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Does Directory Exist
Message
De
29/11/2006 09:34:24
 
 
À
29/11/2006 07:27:22
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows NT
Database:
MS SQL Server
Divers
Thread ID:
01173197
Message ID:
01173244
Vues:
7
Try
function DIR_EXIST
    lparameters cDirPath
    local temparray(1)
    return adir(temparray,cDirPath,'D') > 0
There is also
directory()
but under certain circumstances might full you.

HTH

>I've used the VFP FILE() function for years to determine if a file exist but I need a function that determines if a folder (directory) exist.
>
>Is there a simple way to determine if a folder exists?
>
>Thanks,
>Robert
*****************
Srdjan Djordjevic
Limassol, Cyprus

Free Reporting Framework for VFP9 ;
www.Report-Sculptor.Com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform