Re: [fpc-pascal] Deleting 'Nonexistent' files under windows

2017-01-25 Thread Jürgen Hestermann
Am 2017-01-25 um 11:08 schrieb Jürgen Hestermann: I have written a file manager which uses the (Unicode) Windows API with \?\\ syntax and I never had any problems deleting long paths (testet up to 35,000 characters) Sorry, the number of tested characters wasn't 35,000 but about 25,000. Still

Re: [fpc-pascal] Deleting 'Nonexistent' files under windows

2017-01-25 Thread Jürgen Hestermann
Am 2017-01-24 um 18:44 schrieb Bart: I once created a folder and file using W API and \?\\ syntax for testing purposes. This all went well, but Windows did not like it and would not let me remove the file and folder. I rewote my test program to remove them, but still Windows refused. (The folder

Re: [fpc-pascal] Deleting 'Nonexistent' files under windows

2017-01-24 Thread Bart
On 1/23/17, Rolf Grunsky wrote: > I keep ending up with these very long file names which then I can not > access. Been there. I once created a folder and file using W API and \?\\ syntax for testing purposes. This all went well, but Windows did not like it and would not let me remove the file an

Re: [fpc-pascal] Deleting 'Nonexistent' files under windows

2017-01-22 Thread Marco van de Voort
In our previous episode, Rolf Grunsky said: > Is it possible to access files that have path lengths too long to access > from explorer through Windows API from Pascal? > > I keep ending up with these very long file names which then I can not > access. It seems that Windows will create the files,

Re: [fpc-pascal] Deleting 'Nonexistent' files under windows

2017-01-22 Thread Sven Barth
Am 23.01.2017 05:54 schrieb "Rolf Grunsky" : > > Is it possible to access files that have path lengths too long to access from explorer through Windows API from Pascal? > > I keep ending up with these very long file names which then I can not access. It seems that Windows will create the files, usu

[fpc-pascal] Deleting 'Nonexistent' files under windows

2017-01-22 Thread Rolf Grunsky
Is it possible to access files that have path lengths too long to access from explorer through Windows API from Pascal? I keep ending up with these very long file names which then I can not access. It seems that Windows will create the files, usually by copying the files from another source bu