Well, I'm not sure about your problem, but it generates error 6 also on my pc because... 😧 is my CD drive and there is no disk into. How do you know that the single parts are working if you get the error? And what you mean with "the way of the file is without error it exists" (perhaps adding the French version would help)?
Paolo
Paolo ------------------- LV 7.1, 2011, 2017, 2019, 2021
The first part of my structure works well because i tried it and it's good. I would say path of the file, excuz me. So the path is good and on the forum i read
Error 6 in many cases seems to involve some kind of hardware problem. If I set a non-existing directory (and even a non-existing drive) I get error 7 instead. As I wrote earlier I get the error for 😧 because it exists but the operating system is not able to access it. Try executing a scandisk on drive D:, maybe there is some problem.
Paolo
Paolo ------------------- LV 7.1, 2011, 2017, 2019, 2021
First, wire up all of the error in/error out connections like the attached and get rid of the sequence structure. Then, you can probe along the error chain to see exactly where the error occurs (as opposed to just 'At Delete' or 'At List'). One of your paths is incorrect, the permissions are wrong, or possibly you are trying to delete a file that is open.
Since no one else has your folders or files, it's hard for someone else to debug. What I would suggest is that with each for loop, you add a shift register a build an array of the file paths. I've attached an example of what I mean. You dould do the same thing with the error out to enable you to match the error generated with the file name.