

What's the dot?

What's the dot? (WTD) is an utility for another utility, PM DLL. Drop or
open an EXE or a DLL to use the directory of this dropped or opened file
as a STARTUPDIR of PMDLL.EXE.

If A:\FOO.EXE requires A:\FOO.DLL, but A:\ is no LIBPATH directory, then
the way WTD works can be compared with executing the following commands:

   A:
   CD \
   D:\TOOLS\WPS\PMDLL\PMDLL.EXE A:\FOO.EXE

Using WTD is not required. The Options menu of PM DLL itself includes an
option, "Current directory...", to change the working directory. So it's
also possible to execute a single command, and to select another working
directory manually:

   D:\TOOLS\WPS\PMDLL\PMDLL.EXE A:\FOO.EXE
   Select Options...
   Select Current directory...
   Select directory A:\
   Select Set

Please note that there's no such thing as a right working directory, but
it's likely that using the directory of the selected file will be better
than using a random working directory of PM DLL itself. Without WTD it's
possible that PM DLL will report that A:\FOO.EXE cannot load A:\FOO.DLL,
even if A:\FOO.EXE can load A:\FOO.DLL. WTD can avoid such a false error
message. False, because A:\FOO.EXE should be able to find A:\FOO.DLL.

WTD supports drag & drop. A file dialog can used by clicking on the drop
zone.


Upgrade (only applies if the files WHATSTHE.ICO or WHATSTHE.INI exist):

Overwrite all existing files of WTD. If WTD was already configured, then
start WTD once to convert and delete the existing WHATSTHE.INI file. WTD
no longer uses an own INI file, to avoid a possible third-party bug. The
existing file WHATSTHE.ICO can be deleted too. The only required file of
WTD is WhatsThe.EXE.


Installation:

Save WhatsThe.EXE in any directory. Create a WPS object for WhatsThe.EXE
and make it able to find a working PMDLL.EXE. Parameter: "%*". There are
9 options to configure WTD: 

   1 - Save PMDLL.EXE in the (working) directory of WhatsThe.EXE

   2 - Use the full file specification of PMDLL.EXE as an argument

   3 - Drag PMDLL.EXE to WhatsThe.EXE

   4 - Save PMDLL.EXE in a PATH directory

   5 - Start WTD, select Configure... to select PMDLL.EXE

   6 - Start WTD, click on the drop zone to select PMDLL.EXE

   7 - Start WTD, drop PMDLL.EXE at the drop zone

   8 - Start WTD, select File, select Open... to select PMDLL.EXE

   9 - Start WTD, WTD will convert an old WhatsThe.INI file

The fifth option and the seventh option will be suggested by WTD, if WTD
cannot find a PMDLL.EXE in the current directory, in the argument, or in
a PATH directory. Select Configure... to repair a configuration.


Requirements:

PM DLL (now v2.12), Rexx, a modern version of RexxUtil.DLL, VX-REXX DLL,
and the WPS. So typically only PM DLL itself is a requirement.


What's new:

v1.2

Minor UI improvements.

v1.1

Mainly actually fully supporting drap & drop, not using an own INI file,
and not using a ICO file anymore.


Removal:

Execute WTD, and select Uninstall... to (try to) remove all settings.


Alternative:

An alternative for WTD is changing the working directory (STARTUPDIR) of
a PM DLL WPS object each time. That's almost an identical solution.


Obsolete:

If PM DLL will support the (optional) use of the directory of a selected
file as a relevant directory, then using WTD will have no use anymore.