Notifications
Clear all
[Closed] Display short path
Oct 20, 2020 8:36 pm
Hello, I have question.
I use getDirectries, it get full path.
It will use for dropdownlist. So I want only folder name…
Anyone could help me?
thank you.
RenderElementPath = maxFilePath + "RendereElements/" tmp = getDirectories (RenderElementPath + "*")
2 Replies
Oct 20, 2020 8:36 pm
theDirPath = @"C:\ProgramData\Autodesk\3DSMAX"
"C:\ProgramData\Autodesk\3DSMAX"
(DotnetObject "System.IO.DirectoryInfo" theDirPath).Name
"3DSMAX"
I wonder why your file path uses “¥” as a separator. Is this the case with the Japanese language system?
Oct 20, 2020 8:36 pm
Thank you sir!! I got it!
Yes, this is japanese language system’s own issue… XD