Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Mkdir - problem VFP8
Message
From
26/07/2003 09:38:51
Matthias Will
BiCON Systemtechnik GmbH
Karlsruhe, Germany
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Mkdir - problem VFP8
Miscellaneous
Thread ID:
00813741
Message ID:
00813741
Views:
39
Hi all,

got a strange problem here. Till now I believed that MkDir creates a whole path, if it doesn't exists. It works in most cases, ie :
MkDir ('c:\test\test\test') creates all directories even if c:\test doesn't exists.

Now I ran into a situation where I need to create temporar directories, which I normally would do like :
lc = GETENV('Temp')
lc = ADDBS(lc) + 'Test\Test'
MkDir (lc)

but this throws an error, whose message is that the specified directory already exists although it isn't there !


Anyone an idea ?

TIA
Matthias
Next
Reply
Map
View

Click here to load this message in the networking platform