ant2ne Posted June 6, 2008 Share Posted June 6, 2008 What i want to do is delete certain directories like C:\Path\Dir.Tom, and C:\Path\Dir.Dick, and C:\Path\Dir.Henry with just a C:\Path\Dir.WILDCARD. How do I do this? Thanks Link to comment Share on other sites More sharing options...
Airwolf Posted June 6, 2008 Share Posted June 6, 2008 (edited) What i want to do is delete certain directories like C:\Path\Dir.Tom, and C:\Path\Dir.Dick, and C:\Path\Dir.Henry with just a C:\Path\Dir.WILDCARD. How do I do this?Thanks_FileListToArray() will allow you to dig through C:\Path for all subdirectories; you can also specify a filter and use wildcards. You can then perform a looped removal using the file list. Edited June 6, 2008 by Airwolf123 Certifications: A+, Network+, Security+, Linux+, LPIC-1, MCSA | Languages: AutoIt, C, SQL, .NETBooks: AutoIt v3: Your Quick Guide - $7.99 - O'Reilly Media - September 2007-------->[u]AutoIt v3 Development - newbie to g33k[/u] - Coming Soon - Fate Publishing - Spring 2013UDF Libraries: SkypeCOM UDF Library | ADUC Computers OU Cleanup | Find PixelChecksumExamples: Skype COM Examples - Skype4COMLib Examples converted from VBS to AutoIt Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now