Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/windirstat/windirstat.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'wdshelp/userdefinedcleanups.htm')
-rw-r--r--wdshelp/userdefinedcleanups.htm67
1 files changed, 67 insertions, 0 deletions
diff --git a/wdshelp/userdefinedcleanups.htm b/wdshelp/userdefinedcleanups.htm
new file mode 100644
index 0000000..c1662bd
--- /dev/null
+++ b/wdshelp/userdefinedcleanups.htm
@@ -0,0 +1,67 @@
+<html>
+ <head>
+ <title>User Defined Cleanups</title>
+ <META http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+ <meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5">
+ <link rel="stylesheet" type="text/css" href="format.css">
+ </head>
+ <BODY>
+ <h2>User Defined Cleanups</h2>
+ <p><i>This feature is for experts.</i></p>
+ <p>You can define up to 10 custom cleanup actions. The cleanups are specified by <i>command
+ lines</i>.
+ </p>
+ <p>Select an entry in the list an set it to "enabled". Choose a title, the title
+ appears in the menus.
+ </p>
+ <p>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.
+ </p>
+ <h3>Examples</h3>
+ <p>
+ <ul>
+ <li>
+ <pre>dir /b > dir.txt</pre>
+ List the filenames to the text file dir.txt.</li>
+ <li>
+ <pre>del *.bak</pre>
+ Delete all *.bak files in the current directory.</li>
+ <li>
+ <pre>del /s *.bak *.tmp</pre>
+ Recursively delete all *.bak and *.tmp files.</li>
+ <li>
+ <pre>windirstat.exe "%p"</pre>
+ Call up a second instance of WinDirStat with the path of the selected directory
+ (a PATH to windirstat.exe must be set).</li>
+ </ul>
+ </p>
+ <h3>Examples (NT and higher)</h3>
+ <p>
+ <ul>
+ <li>
+ <pre>echo %n & pause</pre>
+ Display the name of the current directory.</li>
+ <li>
+ <pre>cd & pause</pre>
+ Display the current path and wait for a key stroke.</li>
+ <li>
+ <pre>cd .. && myzip "%n"</pre>
+ Compress the selected directory (with the hypothetic tool myzip).</li>
+ </ul>
+ </p>
+ <p>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.</p>
+ <h3>Assembly of the command line</h3>
+ <p>Suppose you enter the command line
+ <pre>xyz</pre>
+ . WinDirStat then trys to start the following process:
+ <pre>%COMSPEC% /c xyz</pre>
+ </p>
+ <h3>More Options</h3>
+ <p>Specify, for which item types the cleanup works.</p>
+ <p>Specify, whether the cleanup shall be applied recursively on all subdirectories
+ (depth first).</p>
+ <p>The other options should be clear.</p>
+ </BODY>
+</html>