# ShellDetails 1.26

ShellDetails is a content plugin for Total Commander.

## Content

1. Plugin description
2. System requirements
3. Use
4. Configuration
   1. Directories for field search
   2. Field settings
   3. ShellDetails.ini location
5. Troubleshooting
6. Known bugs and limitations
7. Author contact
8. License

## 1. Plugin description

ShellDetails displays all Windows Explorer fields in Total Commander.
In addition to standard fields like Name, Size, Type, Attributes, several date/time fields and many others are available.
The Owner of a file can be displayed as well as (number of) Pages in documents like TIFF or DOC.
Especially interesting for searching are meta data information like Author, Title, Category and Comment.
For music files fields like Copyright, Interpreter, Album Title, Year, Title Number, Song Category, Length and Protected should be relevant. Some of these fields are also supported for video files.
In the category pictures there are the fields Camera Model, Picture Captured On and Dimensions. Not only dimensions of JPEG pictures are supported. Many other picture formats are supported as well.
We also have the properties of applications and libraries like Company, Description, File Version, Product Name and Product Version.
These are just the internal fields. If you have any ShellExtensions installed that provide additional fields they will be displayed as well. Here are some examples:

- CAD Explorer
- PixVue
- TortoiseCVS

Hint: The field names used here are taken from a German Windows XP installation. I translated them to English. The original English names will be different for some fields. Some field names are slidely different on Windows 2000.

## 2. System requirements

You need Total Commander 6.50 or higher for this plugin.
The current supported operating systems are Windows 2000, XP and 2003.
If you install ShellDetails on an older operating system no fields are provided.

Shell extensions are currently not supported on Windows Vista and Windows 7.

## 3. Use

ShellDetail is a content plug-in. Alle plug-ins of this type can be used in the same way. An overview on how to use content plug-ins can be found in the Total Commander Wiki.

## 4. Configuration

### 4.1 Directories for field search

Which fields are available for displaying differs from directory to directory. For this reason the plugin offers to set the directories where to search for fields. As an example the fields provided by the program TortoiseCVS are only available in directories which are under CVS control. If TortoiseCVS is used and the directory C:\MyProject is under CVS control you may add this line to your ShellDetails.ini configuration file:

    [Directories]
    Dir_1=C:\MyProject

It's not necessary to add an additional directory which contains the common directories. If no directory is set by the user ShellDetails will search for fields in the Windows directory.

### 4.2 Field Settings

ShellDetails will create a settings file called ShellDetails.ini. You can use it to define datatype conversions (casting), calculations and other settings. Each section is named with a unique name to identify the field. You don't have to and should not edit the section titles. It can contain the following entries:

Default Value | Possible values | Description
UseDefault=1 | 0, 1 | Set to 0 will enable custom casting and calculations. Otherwise the default field type will be used.
Cast=1 | 2, 4, 5 | Cast the field type into another field type. Supported casts are currently: Numeric --> Date Numeric --> Year Numeric --> Floating point number String --> Numeric Allowed values for the target field type are Numeric (2), Year (4) and Date (5) .
Operator=47 | 47 | The only allowed settings here is 47 which stands for /. That means division is currently the only supported operation.
Processing=0 | 0, 1, 2, 3 | Define how the values are displayed in a custom column view. 0=Same as Explorer. 1=Foreground 2=Background automatically 3=Background on demand
Caption |  | The caption which is displayed to the user in Total Commander.

Here are some useful examples for built-in Explorer fields:

    ;Displays the file size as KB.
    [{B725F130-47EF-101A-A5F1-02608C9EEBAC}12]
    UseDefault=0
    Cast=2
    Operator=47
    Operand=1024

    ;Displays the length of video and audio files as time value.
    [{64440490-4C8B-11D1-8B70-080036B11A03}3]
    UseDefault=0
    Cast=5
    Operator=47
    Operand=10000000

    ;Displays the bitrate for audio files as kbits/sec. The field will be shown "on demand".
    [{64440490-4C8B-11D1-8B70-080036B11A03}4]
    UseDefault=0
    Cast=2
    Operator=47
    Operand=1000
    Processing=3

    ;Corrects the Explorer error that the original image date is extracted as string value.
    [{14B81DA1-0135-4D31-96D9-6CBFC9671A99}36867]
    UseDefault=0
    Cast=10

    ;Untitled field caption set to "Width" and casted to numeric value.
    [{6444048F-4C8B-11D1-8B70-080036B11A03}3]
    UseDefault=0
    Caption=Width
    Cast=2

    ;Cast fhe "Fragment" field to a numeric value to enable search for this field.
    [{242ED098-D606-4FA8-9DDE-89AEDFE4EAD7}0]
    Caption=Fragments
    UseDefault=0
    Cast=2
    State=98

    ;Year dates are no longer displayed as numbers but as date values.
    ;It makes sense to use format like [shelldetails.Year.Y] to display just the year without month and day.
    [{56A3372E-CE9C-11D2-9F0E-006097C686F6}5]
    Caption=Year
    UseDefault=0
    Cast=4

## 4.3 ShellDetails.ini location

ShellDetails.ini will be saved in the same directory as Wincmd.ini by default.
If you don't like this location you can simply move the file to one of the following destinations:

- In a subdirectory called ShellDetails relative to the directory where Wincmd.ini is located
- Plugin directory
- Total Commander directory

## 5. Troubleshooting

1. Question: A field is not provided by the plugin but can be selected in Explorer column configuration. What can I do?
   Answer: Please check section 3. Directories for field search. This section explains how to add the missing fields.
2. Question: A field is not displayed or not displayed as expected. What can I do?
   Answer: Please start your Windows Explorer and add this column there. If the column values aren't shown here too then it's defintely not a bug in my plugin. In all other cases please report the problem to me.

## 6. Known bugs and limitations

1. Date values display differs by a few seconds. This is caused by the way the column interface provided by Windows stores the date values. Windows Explorer has the same problem.
2. If you have a single file in a directory and the file information to be displayed is updated you need to reenter the directory.

## 7. Contact

There is a thread in the Total Commander forum which can be used to discuss problems, bug and suggestions.