Modify ↓
Opened 15 years ago
Closed 15 years ago
#1171 closed Bug (No Bug)
FileDelete *.* stops on undeletable file
Reported by: | eric.peyremorte@… | Owned by: | |
---|---|---|---|
Milestone: | Component: | AutoIt | |
Version: | 3.2.12.1 | Severity: | None |
Keywords: | Filedelete | Cc: |
Description
The following command stop if one file is undeletable. It should go on with the other files in the folder.
FileDelete("c:\windows\temp\*.*")
Ex:
c:\windows\temp
-> 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 15 years ago by Valik
- Resolution set to No Bug
- Status changed from new to closed
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.
Note: See
TracTickets for help on using
tickets.
You can easily write something using FileFindFirstFile()/FileFindNextFile() if the built-in behavior is not satisfactory.