This feature is for experts.
You can define up to 10 custom cleanup actions. The cleanups are specified by command lines.
Select an entry in the list an set it to "enabled". Choose a title, the title appears in the menus.
Compose a command line. Use the "MSDOS prompt" (Windows 9x, command.com) or the "Command prompt" (NT, cmd.exe) to get help about the available commands and to test the command line.
dir /b > dir.txtList the filenames to the text file dir.txt.
del *.bakDelete all *.bak files in the current directory.
del /s *.bak *.tmpRecursively delete all *.bak and *.tmp files.
windirstat.exe "%p"Call up a second instance of WinDirStat with the path of the selected directory (a PATH to windirstat.exe must be set).
echo %n & pauseDisplay the name of the current directory.
cd & pauseDisplay the current path and wait for a key stroke.
cd .. && myzip "%n"Compress the selected directory (with the hypothetic tool myzip).
The meaning of the placeholders %p, %n, %sp, %sn is shown in the dialog. Don't forget to enclose them in quotation marks, if necessary.
Suppose you enter the command line
xyz. WinDirStat then trys to start the following process:
%COMSPEC% /c xyz
Specify, for which item types the cleanup works. Be careful with UNC paths: a command prompt cannot chdir to UNC paths!
Specify, whether the cleanup shall be applied recursively on all subdirectories (depth first).
The other options should be clear.