Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Mkdirectory
Message
De
02/07/2003 14:35:20
 
 
À
02/07/2003 14:34:18
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00806243
Message ID:
00806244
Vues:
14
>I want to check the directory temp before creating it.
>
>It is creating fine.
>
>But the if condition is giving me error.( IF NOT DIRECTORY(Temp) )
>
>Can you please tell me how to check, if the temp exist then ignore otherwise create temp directory.
>
>*************Code*************
>IF NOT DIRECTORY(Temp)
> MKDIR Temp
>ENDIF
>
>**************End*************
>
>Thank you very much.

Put TEMP in quotes.
IF NOT DIRECTORY('TEMP')
Charles

"The code knows no master." - Chuck Mautz
"Everybody is ignorant, only on different subjects." - Will Rogers
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform