-----------------------
DMEX Menu
Explorer Menu Extension
-----------------------

copyright (c) 1994-99
by Andr Rbel


oh if i was the only one
you chose to be your only one
oh baby can't you hear me now
will i see you tonight
on a downtown train
every night it's just the same
you leave me lonely, now.

                       Tom Waits


-----------------------
-----------------------
User Manual
-----------------------
-----------------------


Experienced DMEX users look at the Changes/Fixes section at the end
of this file for a list of new features.


The DMEX Explorer Extension appears as new Submenu in the File or
"right mouse button" menu. The new entry is named DMEX and has a
strawberry to its left side.

The following describes all available menu entries in English
(or what I suppose to be English (I'm sorry)) and gives a short
introduction.
I'm sorry that no help can be given for the commands in the other
languages at the moment. However most items should be more or less
self-explaining. If you really have troubles send me an e-mail.

Note: Most of the window commands are for use with the 
"two column style" Explorer window (the one with the tree on
its left side).
If you always want this Explorer style to open (eg. if you select
the "My Computer" Icon on the desktop) do the following:
From the Explorer menubar choose the "Options" item which
is  located in the "View" Menu. In the "File Type" tabsheet choose
"Folder" than "Edit". Down there  is a listbox called "Actions".
Choose "Explore" than push the "Set default" button.
That's it.



-----------------------

Available Menu Entries

-----------------------



-----------------------
 1. Change Filename or date
    Changes Name or Date of multiple Files.

-----------------------

This menu entry opens the Rename dialog:

Dialog Box Title:
Change Filename / Date

This dialog gives the possibility of changing the name, date or
attributes of all selected files at once. Which files will be 
changed and how can be checked by opening the control listbox with 
the "^" - or "Test" button.

For changing the name you may enter either just the new name or use
special commands which are described below:
Available keywords (case sensitive):
- [Name]
- [Ext]
- [N]
Entering the keyword [Name] (with brackets) with include
the old filename while entering [Ext] will include the old file
extension. Note that [Ext] includes the leading delimiter (point)
of the extension. Note also that the brackets are obligatory.
If there are missing brackets the keyword is not recognised and
will just be taken for pure text.

NEW: You can also include the keyword [N] for automatic numbering
     of the files.


Examples:

  Original Filename is Test.txt
  [Name]   returns   Test
  [Ext]    returns   .txt
  
        BUT TAKE CARE
 
  [Name  gives [Name  !!! The closing bracket is missing !!!

You can also cut out part of the filename or the extension by
writing [Name(Startpos,Endpos)] or [Ext(Startpos,Endpos)]
Note that the round brackets and the separating comma are also 
obligatory. An endpos number higher than the name length returns the
maximum length of the name.

  Original Filename is Test.txt
  [Name(2,4)]   returns   est
  [Ext(1,2)]    returns   .t
  [Ext(3,255)]  returns   xt

You may need some time to learn the syntax, but it is much more
powerful than the normal DOS Wildcard syntax. In the beginning 
use the Test Button to become familiar with the syntax and to
be sure that the files are really renamed in the manner you want
them to. Be aware of missing brackets, numbers or commas.
Watch out for error messages in the dialog if it does not work.

More examples:

- You want to rename all selected files to *.bak
  (Test.txt to become Test.bak)
  You have to enter:
  [Name].bak

- You want to insert a tilde ~ as first character of the extension.
  (Test.txt to become Test.~xt)
  You have to enter:
  [Name].~[Ext(3,255)]

- You want to rename many Files to have the same name but to
  be numbered.
  (All "*.bmp" files to be named "My Girlfriend xx.bmp" where xx
  denotes for a number)
  You have to enter:
  My Girlfriend [N].bmp
  


-----------------------
 2. Select Files
    Selects Files by Mask.

-----------------------

This opens a dialog to enter a mask for selecting files similar to
the DOS Syntax. All Files in the current directory matching that mask
will be selected.
Note: Also directories will be selected if their names match!
      A file without extension and directories will only be selected
      if no extension is specified! (test* and not test*.*)

By default all files will be selected (*.*).



-----------------------
 3. Create Subdirectory
    Creates a new Subdirectory.
    {Only available if selected item is a directory}
-----------------------

A new subdirectory is created in the current directory.
The new name is either 

  "Neues Verzeichnis xx"  (Long Filenames) or
  "Ordnxx"                (8.3 Filenames)

where xx represents a number if there already exists a
directory with the same name.
Sorry about names being only German but you will change
them anyway, aren't you?

NEW: If the new directory will be visible in the right panel of the
     explorer window, it's name will be selected and the edit mode
     is activated so you can just enter the new name.


-----------------------
 4. Open DOS Window
    Opens a new Command Shell Window in the current Directory.
    {Only available if selected item is a directory}
-----------------------

This opens a new command shell window. The default directory
will be the current selected directory.
This command needs the %comspec% environment variable to be set.

NEW: If you want to specify commandline parameters for the
     DOS Box (For example to load doskey macros.) you now can use an
     environment variable with the name DMEXCOMSPEC. If this
     variable exists it will be used instead of %comspec%.

Example:
  (This executes the script init before opening the DOS Box)
  dmexcomspec=c:\winnt\system32\cmd.exe /kc:\init.cmd

The program specified by the %dmexcomspec% variable will be executed.
You can also specify any different command interpreter.

Hint:
  To enter a new environment variable on a NT system do:
  Open the Control Panel and select the System option.
  There you can enter the variable on the Environment panel.



-----------------------
 5. Create Substituted Drive
    Substitutes selected Directory as a Drive.
    {Only available if selected item is a directory}
    {Only available on Windows NT}
-----------------------

This opens a submenu including all unused drive letters.
Selecting one of these drive letters will redirect the 
current directory to this drive.
The redirection will be lost on next reboot or login. 
The redirection also can be terminated by selecting the same
drive letter for the same directory again.



-----------------------
 6. Extract Archive
    Extracts from ARJ,LZH,ARC,ZIP,PAK,ZOO and CAB Archives.
    {Only available if selected item is an archive}
-----------------------

This command creates a new directory with the same name as the
selected archive and extracts all files contained in the archive
into this directory.

This command is very simple and does not want to enter into
competition with the lots of archive interfaces on the market.
So no parameters or options can be chosen at this time.

Note:
  The DOS archive utilities have to be located in a directory
  available through the %Path% environment variable.
  The utilities are NOT part of this program.

Also Note:
  The Command is executed in a minimised DOS Box. If nothing
  happens you may have to open that DOS Box do look after an error
  message   from the archive program eg. if you have to enter a
  password.



-----------------------
 7. Set as Wallpaper
    Install the selected Bitmap as current wallpaper.
    {Only available if selected item is a .bmp file}
-----------------------

The selected bitmap file is set as wallpaper.



-----------------------
 8. Centre current Window
    Centre the current Explorer Window.

-----------------------

Centres the current Explorer Window, leaving a small space around
the window to be able to reach the desktop icons.



-----------------------
 9. New Explorer Window
    Open a new Explorer Window at the specified path.

-----------------------

NEW:

Opens a submenu with the saved Hot Paths. Selecting one ot the
directories will launch a new Explorer window using the specified
directory. Up to four Explorer windows are arranged side by side
afterwards.
To add Hot Paths to the submenu use the "Change Directory to..."
tabsheet in the Configuration dialog.
A right mouse click on the listbox there enables you to select a new
directory. (Add Directory)

You may also use the "Add Directory" item in the 
"New Explorer Window" submenu to go to the configuration dialog.



-----------------------
10. Two Windows vertical
    Tiles two Explorer Windows vertical.

-----------------------

Tiles two Explorer Windows vertical. A new window is opened if
necessary.



-----------------------
11. Two Windows horizontal
    Tiles two Explorer Windows horizontal.

-----------------------

Tiles two Explorer Windows horizontal. A new window is opened if
necessary.



-----------------------
12. Tile all vertical
    Tiles all existing Explorer Windows vertical.

-----------------------

Tiles all existing Explorer Windows vertical.



-----------------------
13. Tile all horizontal
    Tiles all existing Explorer Windows horizontal.

-----------------------

Tiles all existing Explorer Windows horizontal.



-----------------------
14. New Subwindow
    Create a new Explorer Subwindow.
    {Only available if selected item is a directory}
-----------------------

Open a new Explorer window (The one without the tree at its side)
The current directory of the new window is the selected
directory 



-----------------------
15. Clean up all Windows
    Closes all Explorer Windows except the current.

-----------------------

Closes all other Explorer Windows except the current and centres 
the current.



-----------------------
16. Change Directory to
    Quick change to a Hot Path Directory.

-----------------------

Opens a submenu with the saved Hot Paths. Selecting one of the
directories changes the directory of the current window.
To add Hot Paths to the submenu use the "Change Directory to..."
tabsheet in the Configuration dialog.
A right mouse click on the listbox there enables you to select a new
directory. (Add Directory)

NEW:
You may also use the "Add Directory" item in the
"Change directory to" submenu to go to the configuration dialog.



-----------------------
17. Execute
    Executes User Programs.

-----------------------

Opens a submenu with the saved user programs. Selecting one
will launch that program.
As default the notepad is included in this menu.
To add programs use the "Execute" tabsheet in the Configuration
Dialog.
A right mouse click on the listbox there enables you to select a new
program including its working directory. (Add Program and 
Set Working Directory) If the current selected file should be
passed on the command line select the according menu entry.
(Add selected File to Commandline)

NEW:
You may also use the "Add Program" item in the "Execute" submenu
to go to the configuration dialog.



-----------------------
18. Interval Starter
    Executes Programs at System Startup

-----------------------

Opens a Dialog where programs can be defined which should be executed
on system startup. An interval in days can be given for every
program. If you want to do a backup once day or a chkdisk every week
use this tool.
First push the new button. Enter a unique name in the first line. The
default name will be 'Noname'. You have to change this name otherwise
the settings won't be saved. Enter the program path in the second
line or use the "..." button to select one. The default time interval
is 7 days.

If there are any entries in this dialog the starter will be launched on
every system startup. It executes all programms (one after another to
minimize CPU consumption) which have elapsed their time interval.

If you don't want the starter to be launched delete all entries in this
dialog.



-----------------------
19. Configuration
    Configure the DMEX Menu extension

-----------------------

Opens the DMEX Configuration Dialog.

It has five different tabsheets:

DMEX Menu Entries:
  This is a complete list of all available menuitems.
  Vou can exclude menu entries from being shown in the DMEX menu by
  removing the check mark in the listbox.

Change directory to:
  This lists all saved Hot Paths which are shown in the
  "Change directory to" and the "New Explorer Window" submenus.
  You can add or delete entries from the listbox by using the
  right mouse button context menu or keyboard hotkeys:
  Strg-Insert: Add a directory.
  Strg-Delete: Delete the selected directory.
  Strg-Arrow:  Move item up or down.

Execute:
  This lists all saved user programs which are shown in the "Execute"
  submenu.
  You can add or delete entries from the listbox by using the
  right mouse button context menu or keyboard hotkeys:
  Strg-Insert: Add a program.
  Strg-Delete: Delete the selected program.
  Strg-Arrow:  Move item up or down.

Options:
  Here you may select whether the Explorer Window related commands
  are shown in a submenu or not, if the strawberry is shown on side 
  the menu and select the language from the "Language" combobox.
  The "Add Environment Directories" button adds the following directories
  to the Hot Path menu if they are defined environment variables:
  %userprofile%, %windir%, %temp%.

About:
  This shows some program related information. Using the context menu
  you may also view the files: readme.txt and manual.txt (this file).




-----------------------

System changes:

-----------------------

This is a COMPLETE list of system changes which are carried out by
DMEX. Not all of the changes may be necessarily occur on your system.
This depends on which options you have used with the DMEX menu.
Any other changes not mentioned below are not due DMEX. 


Uninstall should work in any case!

However it is fair to tell you what DMEX changes on your system and how
to get back to the original state.

If there are any troubles and you want to remove DMEX at your own
do the following (Complete list of system and registry changes):

BUT BE CAREFULL WHAT YOU ARE DOING WITH THE REGISTRY!
DON'T BLAME ME IF YOU DELETE ANY OTHER ENTRIES AND YOUR SYSTEM CRASHES!

IF YOU ARE UNFAMILIAR WITH THE REGISTRY:
PLEASE DO ONLY USE THE UNINSTALL OPTION!

1.) Delete all DMEX files (DMEX*.*) in the Windows directory.

2.) Delete the following keys in the registry (some may not exist):

  - Menuhandler Context Entries:
    HKEY_CLASSES_ROOT\*\shellex\ContextMenuHandlers\{2D1D33E0-8A8F-11D1-9626-444553540000}
    HKEY_CLASSES_ROOT\Folder\shellex\ContextMenuHandlers\{2D1D33E0-8A8F-11D1-9626-444553540000}
    HKEY_CLASSES_ROOT\Drive\shellex\ContextMenuHandlers\{2D1D33E0-8A8F-11D1-9626-444553540000}

  - DMEXStarter Run Command:
    HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Run\DMEXStarter

  - Menuhandler CLSID Definition:
    HKEY_CLASSES_ROOT\CLSID\{2D1D33E0-8A8F-11D1-9626-444553540000}

  - DMEX Uninstall Option:
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\DMEXMENU

  - DMEX User settings (remove whole section):
    HKEY_CURRENT_USER\software\dmex



-----------------------

Known bugs:

-----------------------

- Truly bad English in this manual.
  Won't be fixed in future? ;)

- On Multiuser Systems (NT) only current user settings are deleted
  if DMEX is uninstalled.
  Every user who used DMEX may delete the whole section
  HKEY_CURRENT_USER\software\dmex
  from the registry.

- You can't define individual User settings for Hot Paths and
  Program Execution.
  (Not really a bug. That's laziness in implementing the
  functionality)

- If no Wallpaper was shown before a new Wallpaper selected by the
  "Set as Wallpaper" item is not shown until system is restarted.
  (Don't ask me why.)

- Unless I say below that the bug is fixed I'm not sure if
  the date change function works correct in every case. This
  is due to an unbelievable incorrect working Delphi function.
  So don't blame me.

- The program seems to misbehave on some Windows 98 machines.
  
- Two people reported about problems with the "Centre Window"
  command. The systems remembers a wrong maximised window position.
  This seems to be a specific Windows 95 problem and only in very
  rare cases. I don't know what is the reason at all.
  However I tried to work around in version 3.10, but don't know
  if this brings cure.



-----------------------

Changes/Fixes:

-----------------------

version 3.01

- Change Date/Time did not function unless system
  time settings were hh:mm:ss. 

- Clean up all windows had problems on some machines.
  Should be fixed now.

- File attributes can now be changed using name/date change dialog.

- Hints in Explorer statusbar should be shown correctly now.

- Added the fabulous DMEXStarter option.


version 3.10

- French language version available !!!
  (This is the reason why this is a major version step)
  Many thanks to Stef Mevel.

- Files can now be numbered while renaming using the [N] keyword.
  (See section 1 for details).

- The "New Window" command has a completely new functionality now.
  You can choose the base directory of your new window out of the
  Hot Paths list. 
  (Added after user suggestion.)

- New Hot Paths and Programs can now be added using a new menu item
  in the according submenus.

- Name editing is activated in the Explorer window when adding a new 
  subdirectory.
  (Added after user suggestion.)

- Commandline parameters for the DOS Box are now available using the
  dmexcomspec environment variable.
  (Added after user suggestion.)
  (See section 4 for details).

- Changing Date/Time problem should really really be fixed now.
  Timestamp is correctly converted to local time forth and back.

- Programs from the "Execute" submenu will now be run on all the
  selected files.

- Automatic language detection while installation.

- Fixed some non translated entries.



------------------------

This is the end of the file as I know it.

------------------------