GP SoftwareTwitter
Opus FAQsManualCommandsObjects

Windows 7 no-extension file open in Explorer but not in Dopus

I have configured the Windows 7 registry to open no-extension files with emacs via
"c:\program files\emacs\bin\runemacs.exe" "%1"
Left-clicking in Windows Explorer on a file with no extension opens the file in emacs.
Left-clicking in Dopus on a file with no extension pops up a "Chose the program you want to use to open this file" window with emacs as the only choice.


The Windows Explorer context menu for a no-extension file show "Open" at the top.
The Dopus context menu for a no-extension file shows "Open With ..." at the top.

How do I get Dopus to open a no-extension file directly?

Solved ...for the most part.
Dopus pops up the ""Chose the program you want to use to open this file" window when the no-extension file is empty with a zero byte-count. Placing a text-type ASCII code in the file causes Dopus to open the file directly without popping up the "Chose the program you want to use to open this file" window. But the ASCII code is not a text-type (for want of a better descriptor), say the code 0x00 or 0x07, Dopus pops up the unwanted window. I found also that if the code 0x00 is placed in the middle of some text, Dopus sometimes opens the file directly and other times pops up the unwanted window.

Preferences / File Operations / Double-click on Files / Open unregistered file types in text viewer if they appear to be plain text... is probably what you want.

The start of the files must look like text data for it to apply to them. 0x00 never appears in text data.

Thank you for the Preferences / File Operations / Double-click on Files / Open unregistered file types in text viewer if they appear to be plain text tip.

Strictly speaking, 0x00 may never appear in text data, but it certainly appears at the end of null-terminated strings.

Only when strings are included in other binary data; never in text files.