Sign in to follow this  
Followers 0
am632

Delete all files with a certain extention question

2 posts in this topic

Hi, I wonder if any one can help me with a script.

I would like to know how to delete all files with a certain extension.

For example If i wanted to delete every file on the computer with the extension '.tmp' or could you delete all files on the pc with the name 'log.txt'

I would like to make a system clean up tool, i know i could just use something like ccleaner but it would be more fun this way - and a learning experience:)

thanks

Share this post


Link to post
Share on other sites



Hi, I wonder if any one can help me with a script.

I would like to know how to delete all files with a certain extension.

For example If i wanted to delete every file on the computer with the extension '.tmp' or could you delete all files on the pc with the name 'log.txt'

I would like to make a system clean up tool, i know i could just use something like ccleaner but it would be more fun this way - and a learning experience:)

thanks

If you are interested in a learning experience then I recommend opening the AutoIt help at the contents section. Look for "Function reference" and then open the "File, Directory and Disk functions Reference" section. Have a good read, you will find what you need there.

Serial port communications UDF Includes functions for binary transmission and reception.printing UDF Useful for graphs, forms, labels, reports etc.Add User Call Tips to SciTE for functions in UDFs not included with AutoIt and for your own scripts.Functions with parameters in OnEvent mode and for Hot Keys One function replaces GuiSetOnEvent, GuiCtrlSetOnEvent and HotKeySet.UDF IsConnected2 for notification of status of connected state of many urls or IPs, without slowing the script.

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