Modify

Opened 10 years ago

Closed 10 years ago

#2872 closed Feature Request (Rejected)

FileDelete set @extended deleted count

Reported by: anonymous Owned by:
Milestone: Component: AutoIt
Version: Severity: None
Keywords: Cc:

Description

In @extended macro may be the number of deleted files.

FileDelete('*.lock')
$count = @extended

Attachments (0)

Change History (4)

comment:1 Changed 10 years ago by TicketCleanup

  • Version 3.3.12.0 deleted

Automatic ticket cleanup.

comment:2 Changed 10 years ago by Melba23

As FileDelete accepts wildcards and I imagine is a direct call to the API function, how do you expect AutoIt to know the answer?

I suggest you count the files before and after the delete and do the maths yourself.

M23

comment:3 Changed 10 years ago by BrewManNH

The API that I'm assuming being used is probably DeleteFile, that function doesn't return anything other than success or fail. There doesn't seem to be any way for any language using that Windows API to get the number of files that got deleted.

comment:4 Changed 10 years ago by Melba23

  • Resolution set to Rejected
  • 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.

Add Comment

Modify Ticket

Action
as closed The ticket will remain with no owner.
Author


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

 
Note: See TracTickets for help on using tickets.