Page 1 of 1

Associate *.edb files with esedatabaseview from Nirsoft (How to guide)

Posted: Fri Sep 13, 2013 10:44 pm
by 3ICE
  1. Start > Run... > regedit
  2. Navigate to HKEY_CURRENT_USER\Software\Classes\edb_auto_file\shell\open\command Create the folders if they don't exist yet.
  3. Set the (Default) REG_SZ string value there to C:\Path\to\NirSoft\esedatabaseview.exe /table "%1" MSysObjects
Alternatively, here is a *.reg file:

Code: Select all

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Classes\edb_auto_file\shell\open\command]
@="C:\\\Path\\to\\NirSoft\\esedatabaseview.exe /table \"%1\" MSysObjects"
Save it, run it, done.

But don't forget to change the Path/to/NirSoft bit to what it actually is in your specific setup. Most commonly it'll be C:\Program Files\NirSoft\ or C:\NirSoft\. But there is no standard as they don't provide an installer.

Why /table <Database Filename> <Table Name>?
Because command line handling in esedatabaseview is coded badly.
Passing a plain old %1 as the first command line argument doesn't get handled, you need to specify what you mean with /table %1.
And even then it won't work, as it doesn't bother to auto-fill in the default table name of MSysObjects, you have to specify that in the command line too.

Lastly, here is a screenshot:
static.3ice.hu/images/esedatabaseview-screenshot.png