06-06-2012 03:08 PM
Hello,
I have the following piece of code in my script (which works fine)
dim result : result = DirListGet("C:\","*.adf","filename","FullFileNamesRecursive")
Instead of just using the "C:\" directory, I would like to prompt the user to choose one.
I tried using Application.DlgPathSelect as well as PathNameGet to select a path, but I don't know how to put a String representation of the selected path into the DirListGet method above.
Thanks in advance,
Omar
Solved! Go to Solution.
06-07-2012 03:24 AM
Hello Omar,
use it like this
if "IDOk" = PathDlgShow("Select a directory for adf files", "C:") then dim result : result = DirListGet(OutPutPath,"*.adf","filename","FullFileNamesRecursive") end if
Greetings
Andreas