I have this script at several different customers and have never run into this problem until today. And boy, is it frustrating!
I'm displaying a directory listing to allow the selection of multiple files to be uploaded. I have a filespec string of "md*.*" to restrict the display. The problem is that, for this customer, only "MD" files dated with the current date are shown. Opening a Windows Explorer window to the path, I see TONS of files starting with "MD", one for each day. However, displaying my Procomm dialog box only shows 1 "MD" file - the one dated for today!
I don't have any other restrictions in my script nor with the system security. Windows permissions on the folder and files are not restricting based on date. Anyone ever run across anything similar?
For reference, here's a snippet of my code:
I'm displaying a directory listing to allow the selection of multiple files to be uploaded. I have a filespec string of "md*.*" to restrict the display. The problem is that, for this customer, only "MD" files dated with the current date are shown. Opening a Windows Explorer window to the path, I see TONS of files starting with "MD", one for each day. However, displaying my Procomm dialog box only shows 1 "MD" file - the one dated for today!
I don't have any other restrictions in my script nor with the system security. Windows permissions on the folder and files are not restricting based on date. Anyone ever run across anything similar?
For reference, here's a snippet of my code:
Code:
string sClaimsDir = "c:\folder\"
string sFileToSearch = "md*.*"
string sFile = "claims.txt"
sFileFilter = ""
strcat sFilter sClaimsDir
strcat sFilter sFileToSearch
dialogbox 0 8 21 264 139 130 " Choose a Claims File"
dirpath 1 7 113 198 19 sClaimsDir
dirlistbox 2 2 2 258 99 sFilter MULTIPLE sFile 1 hscroll sort
pushbutton 3 219 104 42 14 "&Open" ok default
pushbutton 4 218 120 44 13 "&Cancel" cancel
enddialog