This program is an improvement to the internal commands
Using this tool you are to able to define exactly how paths are copied.
see also: section parameters and examples for detailed explanations.
Extract the content of the archive to a directory of your choice; for example:
You may also want to define a hotkey, if you require to use the command frequently.
The start menu entry has to be one of the first ten entries, otherwise you'll
have to extend the file
"Totalcmd.inc". You have to remember
the entries position. The following example uses a start menu entry on position
"Totalcmd.inc" is located in the Total Commander
Alternatively you may drag & drop the file
into the button bar.
You have to enter valid values to the fields "Command" and "Parameters". You don't have to care about the other fields. Simpelst possible example: It's absolutely similar to cm_CopyFullNamesToClip. You have to enter the following values to the fields:
You have to adapt the path to your own. In general the field "Command"
includes program path and optional parameters.
The field "Parameters" includes the list file. This parameter is mandatory.
/U converts paths of mapped drives into UNC network paths. This
parameters is only required, if the network path is assigned to a local drive.
If you access the network path directly, the parameter is not required.
should be the first parameter.
/NE (no extension) Use this parameters to suppress copying of
/PD (path depth) The path depth defines how many parts of a path
will be copied. You can specify how many path parts will be copied at the beginning
and at the end. The root is included in the count. Between these two parts
is placed. Click here for a detailed example.
/P Prefix, which will inserted before each line. Example:
/S Suffix, which will be inserted after each line.. Example:
/R is a parameter, which can be used multiple times. You may use
it to replace parts of each line. In the following example all occurrences of
"Righteous" will be replaced by "Lefteous" and all Occurrences
of "12345" will be eliminated: Example:
/R:"12345"="" Attention: Quotation marks should always
be set as shown in the above example. String replacement is case sensitive.
/L The file list.
/L must be the last parameter.
The following values are possible:
(taken from Total Commander help system)
%t can be used too.
Lst2Clip.exe [/U] [/NE] [/PD] [/RB] [/P] [/S] [/R] /L
Parameters in brackets can be omitted. Another order could lead to unwanted side effects.
A path should look like the paths in java.net.URI; example:
The path will be copied as:
Another Example: You need to copy a long path in a readable way. Given the following path:
C:\Directory 1\Directory 2\Directory 3\Directory 4\Directory 5\Directory
The result is:
C:\Directory 1\Directory 2\...\Directory 6\Directory 7\File.txt
|For java.net.URL enter the following values:|
|For "windows-paths" with UNC-Prefix the following settings are required:|
|To copy the current source path of a mapped drive:|
|Copy the current source path without finally backslash:|
|Copy file names without path and without file extension:|
|Copy short paths (dos-style) to clipboard|
|Copying the file extension can now be omitted.|
|You may now limit the path depth.|
|The backslash at the end of the path can be omitted.|
|bugfix: The parameters %P and %T should now work properly.|
|new feature: The parameters /U converts paths of mapped drives into UNC network paths.|
Visit the Total Commander Forum. Copyright (C) 2003 Lefteous, All rights reserved. This Total Commander addon is copyrighted freeware.