Opened 14 years ago

Closed 14 years ago

#1171 closed Bug (No Bug)

FileDelete *.* stops on undeletable file

Reported by: eric.peyremorte@… Owned by:
Milestone: Component: AutoIt
Version: Severity: None
Keywords: Filedelete Cc:


The following command stop if one file is undeletable. It should go on with the other files in the folder.


-> test.bat
-> patch.exe
-> oifea.tmp -> this file is in use, the command FileDelete stops here
-> log.txt -> this files are left....
-> snmplog.txt

Maybe an option to ignore undeletable files would be helpful ?

ex: FileDelete("folder",option) -> option 0: to stop on undeletable file, 1: to ignore errors

Attachments (0)

Change History (1)

comment:1 Changed 14 years ago by Valik

  • Resolution set to No Bug
  • Status changed from new to closed

You can easily write something using FileFindFirstFile()/FileFindNextFile() if the built-in behavior is not satisfactory.

Guidelines for posting comments:

  • You cannot re-open a ticket but you may still leave a comment if you have additional information to add.
  • In-depth discussions should take place on the forum.

For more information see the full version of the ticket guidelines here.

Add Comment

Modify Ticket

as closed The ticket will remain with no owner.

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.