|
<< Click to Display Table of Contents >> Navigation: Programming Mechworks PDM > DBWCommandShell > Library Reference > File > DBWCreateDirDBWServer |
Create a directory path as specified in the function arguments;
in case DBWServer is running on the machine, it assigns the OWNERSHIP folder attribute to the DBWServer login personality.
Function DBWCreateDirDBWServer(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 = DBWCreateDirDBWServer(pathtocreate,TRUE)
if response = TRUE then
msgbox "All right!"
else
msgbox "Some problems! Directories weren't created."
end if