@dirlist

Richard Kreiss rkreiss at verizon.net
Wed Oct 7 13:40:28 PDT 2009


If you want to stay within filepro, do a system call and list the files in
the directory.  Send this output to a text file and then import the file.

You can then hash the information returned putting the names into an array
and using listbox to display it.

Your choice as to how to get the data in.  any of FP's i/o functions should
work on the file created.


Richard Kreiss
GCC Consulting
rkreiss at gccconsulting.net
  



> -----Original Message-----
> From: filepro-list-bounces+rkreiss=verizon.net at lists.celestial.com
[mailto:filepro-
> list-bounces+rkreiss=verizon.net at lists.celestial.com] On Behalf Of Chris
> Rendall
> Sent: Wednesday, October 07, 2009 3:16 PM
> To: 'filePro'
> Subject: @dirlist
> 
> @dirlist seems to have a limit of names with a length of 32 characters or
less.
> Filenames longer than 32 characters to the @dirlist_filename system array.
> 
> What I'm trying to do is determine if a file exists on a Windows file
share, but I
> only know the beginning part of the file name and that it ends in .pdf.  I
tried
> using the "exists" command but it doesn't seem to take a wild card.  With
> opendir() I can specify the first part of the name, such as
"12-1508*.pdf", and if
> the filename is less than 32 characters it is found.
> 
> I'm running filePro 5.0.14.  Does 5.6 support longer filenames?  Is there
another
> way to check if a file exists when the filename is longer than 32
characters, and
> I'm using a wildcard?
> 
> Thanks,
> Chris
> _______________________________________________
> Filepro-list mailing list
> Filepro-list at lists.celestial.com
> http://mailman.celestial.com/mailman/listinfo/filepro-list




More information about the Filepro-list mailing list