>
>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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement