Re: [fpc-pascal] Finding long file names

2017-10-06 Thread James Richters
>I can't reproduce it here. Would you please provide a self contained, small >example plus information about the OS, filesystem and compiler as well as a >list of filenames to test with? Well, here’s some good news, I was cutting and pasting my code to make a self contained example and I found

Re: [fpc-pascal] Finding long file names

2017-10-05 Thread Sven Barth via fpc-pascal
Am 05.10.2017 01:49 schrieb "James Richters" : > > I'm trying to use findfirst()/findnext to obtain a list of files. Here's my code: > Searchfile:=Tap_Drive+Tap_Path+'\'+Tap_SubDirectory+'\*.TAP'; > If FindFirst(Searchfile, FAAnyfile-FAHidden, FileDirInfo)=0 then > .. > > It finds most files, even

Re: [fpc-pascal] Finding long file names

2017-10-05 Thread Michael Van Canneyt
On Wed, 4 Oct 2017, James Richters wrote: I'm trying to use findfirst()/findnext to obtain a list of files. Here's my code: Searchfile:=Tap_Drive+Tap_Path+'\'+Tap_SubDirectory+'\*.TAP'; If FindFirst(Searchfile, FAAnyfile-FAHidden, FileDirInfo)=0 then .. It finds most files, even ones with r

[fpc-pascal] Finding long file names

2017-10-04 Thread James Richters
I'm trying to use findfirst()/findnext to obtain a list of files. Here's my code: Searchfile:=Tap_Drive+Tap_Path+'\'+Tap_SubDirectory+'\*.TAP'; If FindFirst(Searchfile, FAAnyfile-FAHidden, FileDirInfo)=0 then .. It finds most files, even ones with really long file names, however it can't find f