GATS → Software → VSClean

Usage

VSClean is a command-line utility that runs in a Windows console such as CMD or PowerShell.

vsclean ([-pg]|[--help]|[--version]) [folder]

where:

-p Pause the output at the end of the report until a key is pressed.
-g Remove the git repository.
--help Display the usage.
--version Display the version information.
folder The folder to start the recursive clean.

Dowload

 Version 1.0.0 for Windows x64: vsclean.zip (248.62Kb)

Installation

Download the archive and unzip the executable (vsclean.exe) into an appropriate folder.  I keep my programs in c:/usr/bin.

Add that folder to the PATH environment variable.  On Windows 10 the steps are:

Installing into File Explorer

VSClean can be installed as a File Explorer shell extension.

File Explorer extension image

  1. Run regedit.
  2. Expand HKEY_CLASSES_ROOT
  3. Expand Directory
  4. Expand shell
  5. Add a new key 'vsclean'
  6. Set the (Default) property to 'VS Clean -p'.  The double
  7. Add the key 'command' to the 'vsclean' key.
  8. Set the (Default) property to '"c:\usr\bin\vsclean.exe" "-p" "%1"'.  The double quotes are included, the single quotes are not.