Sign in to follow this  
Followers 0
edy

Selective deleting files

5 posts in this topic

I must delete a group of files excluding some others, as I can make with autoit or exists one utility for this?

Thanks

Share this post


Link to post
Share on other sites

Please explain further. Do you mean to delete everything but certain few or just to delete some that you pick out. Either way you need to use the command FileDelete( "path" )


Offering any help to anyone (to my capabilities of course)Want to say thanks? Click here! [quote name='Albert Einstein']Only two things are infinite, the universe and human stupidity, and I'm not sure about the former.[/quote][quote name='Wolvereness' date='7:35PM Central, Jan 11, 2005']I'm NEVER wrong, I call it something else[/quote]

Share this post


Link to post
Share on other sites

Please explain further. Do you mean to delete everything but certain few or just to delete some that you pick out. Either way you need to use the command FileDelete( "path" )

<{POST_SNAPBACK}>

I want to delete for example all file in one directory older than two days, or

all file except those that have a determined name,

one example of command :

del *.* except pinco.bkf , pallino.bkf

Share this post


Link to post
Share on other sites

Seek in the forum the _FileSearch UDF.

It returns an array of file found. Deletes the files that listed in the array don't match your criteria.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0