Hello,
I have made a script to browse directory...but when am selecting the directory ,its creating wrong path to directory
path_label=hiCreateLabel(
?name 'path_label ?labelText "Path*"
?justification 'left)
path_enter=hiCreateStringField(
?name 'path_enter
?defValue "/pkg/abc/xyz"
)
browse_Entry=hiCreateButton(
?name 'browse_Entry
?buttonText "Browse..."
?callback "ddsFileBrowseCB(hiGetCurrentForm() 'path_enter \"*\" 'directoryOnly)"
)
When am selecting directory /pkg/abc/efg its giving /pkg/.nh/05/efg...that path to directory is wrong and doesn't exist.
IS THERE A WAY WHEN I SELECT ANY DIRECOTRY THROUGH BROWSE OPTION i.e /pkg/abc/klj/ then in text box it automatically comes as realpath of /pkg/abc/klj of this directory?
to avoid above path error
regards,
thomas