I have a script which is successfully using GetFileList to return all folder names from a hardcoded location but I want the user to be able to Browse to any folder they like. I tried Input and I tried created a dialog but I didn't get either to return the desired effect.
Below is the hardcoded version.
Code: Select all
let>GFL_TYPE=1
GetFileList>\\Directory\Folder\*.*,files,;
Separate>files,;,file_names
Let>k=0
Repeat>k
Let>k=k+1
WriteLn>C:\FileListTest\Test.txt,,file_names_%k%
Until>k,file_names_count
mdl>Job complete.
I know how to handle the variable, I just need to know how to get it.