Jump to content


delete filetypes in a folder and all it subfolders


3 replies to this topic

#1 OFFLINE   broomstick

    Newbie

  • Members
  • Pip
  • 1 posts

Posted 04 June 2008 - 10:27 PM

I like to delete all files with extension .~pas
in a map that has submaps.
as I have seen in this forum this could be done by changing the ini file to look
like this:

D:/map/*.~pas|RECURSE

But it seems that there is no cleaning in the submaps.

please advice me. :( :( :(

#2 OFFLINE   user4

    Member

  • Members
  • PipPip
  • 17 posts

Posted 21 October 2008 - 04:09 PM

View Postbroomstick, on Jun 4 2008, 10:27 PM, said:

I like to delete all files with extension .~pas
in a map that has submaps.
as I have seen in this forum this could be done by changing the ini file to look
like this:

D:/map/*.~pas|RECURSE

But it seems that there is no cleaning in the submaps.

please advice me. :( :( :(


Similar problem here.

Odly enough the RECURSE feature works for the folder D:\software for me (subfolders scanned and cleaned), but not (for example) for the Windows folder or for Program Files. As there is nothing that I\the user can change, is this a Windows problem or a CC bug?

#3 OFFLINE   davey

    Keep it simple !

  • Members
  • PipPipPipPipPip
  • 2,235 posts
  • Gender:Male
  • Location:Maryland U.S.A.

Posted 22 October 2008 - 04:24 PM

View Postuser4, on Oct 21 2008, 12:09 PM, said:

Similar problem here.

Odly enough the RECURSE feature works for the folder D:\software for me (subfolders scanned and cleaned), but not (for example) for the Windows folder or for Program Files. As there is nothing that I\the user can change, is this a Windows problem or a CC bug?
Hello user4,
Welcome to the forums. :D
Please provide more detail showing exactly what you are specifying.
Provide a snapshot or listing of your ini. file.
:) davey

#4 OFFLINE   Disk4mat

    Power Member

  • Members
  • PipPipPipPip
  • 568 posts
  • Gender:Male
  • Location:Mesa, AZ

Posted 22 October 2008 - 08:09 PM

The path should look like this... D:\map|*.~pas|RECURSE

CC Guide said:

| - means you want to clean something in that folder.
*.* - means delete every file in that folder.
|RECURSE - will delete subfolders and everything with them. Must be followed after *.*. Example: %ProgramFiles%\Yahoo!\Messenger\Profiles|*.*|RECURSE

|REMOVESELF – will delete folder and everything in it. Must be followed after *.*. Example: %ProgramFiles%\Yahoo!\Messenger\Profiles|*.*|REMOVESELF
http://www.ccleanerb...scr/winapp2.htm