Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to catch absent disk error on aDir()?
Message
De
21/03/2012 15:16:30
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
À
21/03/2012 14:56:18
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2003
Database:
MS SQL Server
Divers
Thread ID:
01538758
Message ID:
01538940
Vues:
30
>Hmm, if you know the name of the folder you're looking for, VFP DIRECTORY() works for me. On my system I have a hard drive C:, an optical drive D: with no medium in the drive, and drive U: does not exist. The folder C:\Something\ does not exist:
>
>?DIRECTORY( "C:\Something" ) && .F.
>?DIRECTORY( "D:\Something" ) && .F.
>?DIRECTORY( "U:\Something" ) && .F.
>
>* no OS dialogs or errors
>
Tried that, but my OS complained again.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform