Cinchoo – Files & Folders cleanup command line tool


Download Binary (Zip)

Download Source Files (Zip)

This command line tool to remove matching files and folders from disk. It is written in using C#/VS.NET 2010.

You require .NET Framework in order to run this tool. You can download it from here.


  • Clean up files and folders matching regular expression pattern
  • Works with single file as well as files in a folder
  • Runs on Windows 95/98/ME/NT4/2k/2k3/2k8/XP/Vista/7

How to use

  • Run the ChoFileFolderCleanupConsoleTool.exe file in command line with the following command line parameters

/P                   Turn on preview mode.
/I                     Include subdirectry.
/R                   Remove directory if empty.
/MD               Match folder names.
/DMF            Don’t Match file names.
/F                   File name matching regular expression.
<default>      Semicolon(;) seperated Files or Folders path.


ChoFileFolderCleanupConsoleTool.exe  /I  "C:\SampleFileOrFolder1,C:\SampleFileOrFolder2"
ChoFileFolderCleanupConsoleTool.exe  /I /MD  "C:\SampleFileOrFolder1,C:\SampleFileOrFolder2"
ChoFileFolderCleanupConsoleTool.exe  /DMF /I /P  "C:\SampleFileOrFolder1,C:\SampleFileOrFolder2"

Please visit Regular Expression Cheat Sheet for help in creating regular expression

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s