|
<< Click to Display Table of Contents >> Navigation: Programming Mechworks PDM > DBWCommandShell > Library Reference > File > DBWCreateDir |
Create a directory path as specified in the function arguments
Function DBWCreateDir(strPath, blnSave)
strPath |
is the directory to create |
|---|---|
blnSave |
is a Boolean to specify the creation of the empty file: |
TRUE |
if the directory path has been regulary created |
|---|---|
FALSE |
if it has occurred some problems |
pathtocreate = "c:\dirone\dirtwo\dirthree\"
response = DBWCreateDir(pathtocreate,TRUE)
if response = TRUE then
msgbox "All right!"
else
msgbox "Some problems! Directories weren't created."
end if