rhpt Posted December 1, 2009 Share Posted December 1, 2009 Is there a way to use the "Include" feature so it deletes files with a non-extension wildcard? For example, all files in a directory that starts with Foo. So C:\example|Foo* I have a file that is created weekly with a slightly different filename each time (Foo1201, Foo1202, Foo1203, etc.) and it doesn't have an extension, so I can't choose a specific file. Any help would be greatly appreciated. Thank you Link to comment Share on other sites More sharing options...
Moderators Augeas Posted December 1, 2009 Moderators Share Posted December 1, 2009 Yes, do as in this thread http://forum.piriform.com/index.php?showtopic=25500&hl= Just enter the file name as foo*.* As usual, test first, I don't guarantee anything. Link to comment Share on other sites More sharing options...
rhpt Posted December 7, 2009 Author Share Posted December 7, 2009 Yes, do as in this thread http://forum.piriform.com/index.php?showtopic=25500&hl= Just enter the file name as foo*.* As usual, test first, I don't guarantee anything. Finally got a chance to try this. Entering the file nas as foo*.* doesn't work. I think it's because the file(s) I'm trying to delete do not have a file extension. and file* doesn't work either .... Link to comment Share on other sites More sharing options...
Moderators Augeas Posted December 7, 2009 Moderators Share Posted December 7, 2009 Hmm. It worked when I tested it, with or without a file extension. The actual entry I used to test was C:\Documents and Settings\Me\My Documents\New Folder\xxx*.* It worked with varying file names beginning with xxx Link to comment Share on other sites More sharing options...
Moderators DennisD Posted December 7, 2009 Moderators Share Posted December 7, 2009 Just in case it's been overlooked, you will need to check the "Custom Files And Folders" box in "CCleaner\Windows\Advanced" for any "Include" to work. Link to comment Share on other sites More sharing options...
rhpt Posted December 17, 2009 Author Share Posted December 17, 2009 Finally got a chance to try this, and it's still not working. I wonder if it's because my files have no extension? My other custom file/directories delete just fine ... Link to comment Share on other sites More sharing options...
Moderators Augeas Posted December 17, 2009 Moderators Share Posted December 17, 2009 It worked when I tested it, with or without a file extension. Link to comment Share on other sites More sharing options...
michaeld Posted January 14, 2010 Share Posted January 14, 2010 Wildcards are still not working. I tried '*.backup', '*.dll', 'pro*.*' Nothing happens, but 'myfile.backup' does work, so the right options are set... Link to comment Share on other sites More sharing options...
drwhite Posted January 27, 2010 Share Posted January 27, 2010 When I did it only the files in directory specified as C:\stuff\*.bak were deleted. It did not search for the files in C:\stuff\today or any of the C:\stuff\ subdirectories. How can you make it clean out the sub directories as well? 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