Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Directory() returns incorrectly?
Message
 
À
25/06/1998 13:12:05
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00111589
Message ID:
00111709
Vues:
15
>>I have a subdirectories on my machine f:\develop\myWork\temp and ..\data
>>
>>? directory('f:\develop\myWork\data') returns .T.
>>? directory('f:\develop\myWork\temp') returns .F. (sometimes .T.)?
>>? directory('data') returns .T.
>>? directory('temp') returns .F. (sometimes .T.)?
>>
>>What gives? I need to know if temp exists, if it doesn't I want to create it on the fly.
>>
>>Does anyone have a better solution to directory()? I don't trust it.
>>
>>Robert
>Seeing even fullpath declaration fails for only "temp" I have a silly idea. Might any code RDing and MDing between these "? directory()" (Code may belong to someone else mapping to this work dir)?
>Cetin

I sense a bug. Seems only to happen with 'temp' for some reason! I've tried this with numerous directories and 'temp' seems to be the only one it fails on. Maybe I'll change my temp directory name in the install. Bummer...

Robert
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform