|
<< Click to Display Table of Contents >> Navigation: Programming Mechworks PDM > DBWCommandShell > Library Reference > File > DBWDirNameFromFullName |
Retrieve the directory name from the full (with the entire path) file name
Function DBWDirNameFromFullName(FullFileName)
FullFileName |
is the entire path (comprehensive of directories) |
A string containing the directory name of the document
fullname = "c:\dirone\dirtwo\dirthree\test.sldasm"
dirname = DBWDirNameFromFullName(fullname)
DBWMsgBox dirname
' it prints "c:\dirone\dirtwo\dirthree\"