General information
Category:
Coding, syntax & commands
Title:
Mkdir - problem VFP8
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only