General information
Category:
Coding, syntax & commands
Title:
False return of DIRECTORY()
VFP7 - Windows 2000 Small busyness Server
Email_Dir = "T:\SAM_MAIN\SCIL\"
.
.
.
if not DIRECTORY(Email_Dir)
MKDIR(Email_Dir)
endif
The MKDIR-line causes very scarcely the error:
Error: 1961
A subdirectory or file t:\sam_main\scil already exists.
The subdirectory is actually there but why did DIRECTORY() not see it?
Is there a way to make it more secure?
Thanks in advance
Peter
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