Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problems with Mkdir in tempfolder
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00537623
Message ID:
00540755
Views:
26
>
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform