Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problems with Mkdir in tempfolder
Message
De
07/08/2001 12:08:53
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00537623
Message ID:
00540755
Vues:
31
>
>Macer,
>
>You can't do it this way. You have to create the parent directory prior to creating the child IOW, you have to create the "Hello" folder before you create the "World" child folder.
>
>BTW, you don't necessarily have to resort to the function call to the API to get the temp path. Try GETENV('TEMP').

Thanks Everyone,

I was hoping to aviod parsing and creating each folder individually, as there are quite a few MD and MKDir calls in the app, but it looks like I will have to do it.

George, we used to use GetEnv, but switched to the API call when we discovered that some machines didn't have the 'TEMP' system variable defined. In some cases it was 'TMP' and others none... they used the current folder!!!!

Laters

Mace
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform