Association error "Cannot find the file..."

  • Thread starter Thread starter Rich Pasco
  • Start date Start date
R

Rich Pasco

Guest
I recently "upgraded" my Windows 2000 system to Textpad 5.0.3, and have
a problem.

If I double-click on a text file in Explorer (or enter its name on a
command line), then after Textpad opens the file as it should, I get the
message:

(X) Cannot find the file [filename.txt] (or one of its components). Make
sure the path and filename are correct and that all required libraries
are available. [OK]

In Control Panel / Folder Options / File Types, .TXT is supposed to open
with TextPad.

In my registry,
HK_CLASSES_ROOT/Applications/Textpad.exe/shell/open/command is set to
"C:\Program Files\TextPad 5\TextPad.exe" -s "%1"

If I enter that entire command on the command line (substituting the
name of my existing file for %1) then TextPad opens the file without
complaint. But if I enter just the filename on the command line, the
above-mentioned error is shown.

If I first launch TextPad, then I can open the file with its File/Open
dialog without complaint.

If I change the association to open with Notepad, then double clicking a
text file or typing its filename on the command line opens a Notepad
session without complaint.

If I change it back to TextPad, the problem recurs.

With REGEDIT, I changed the remaining instances of "TextPad 4" to
"TextPad 5" and rebooted. No change.

Except for the error message, everything seems to work. But it is
startling, and annoying to have to click [OK] to dismiss it.

Any suggestions?
 
Re: Association error "Cannot find the file..."

Rich Pasco <richp1234@hotmail.com> wrote in news:ujQbixu#HHA.3916
@TK2MSFTNGP02.phx.gbl:

> I recently "upgraded" my Windows 2000 system to Textpad 5.0.3, and have
> a problem.
>
> If I double-click on a text file in Explorer (or enter its name on a
> command line), then after Textpad opens the file as it should, I get

the
> message:
>
> (X) Cannot find the file [filename.txt] (or one of its components).

Make
> sure the path and filename are correct and that all required libraries
> are available. [OK]
>
> In Control Panel / Folder Options / File Types, .TXT is supposed to

open
> with TextPad.
>
> In my registry,
> HK_CLASSES_ROOT/Applications/Textpad.exe/shell/open/command is set to
> "C:\Program Files\TextPad 5\TextPad.exe" -s "%1"
>
> If I enter that entire command on the command line (substituting the
> name of my existing file for %1) then TextPad opens the file without
> complaint. But if I enter just the filename on the command line, the
> above-mentioned error is shown.
>
> If I first launch TextPad, then I can open the file with its File/Open
> dialog without complaint.
>
> If I change the association to open with Notepad, then double clicking

a
> text file or typing its filename on the command line opens a Notepad
> session without complaint.
>
> If I change it back to TextPad, the problem recurs.
>
> With REGEDIT, I changed the remaining instances of "TextPad 4" to
> "TextPad 5" and rebooted. No change.
>
> Except for the error message, everything seems to work. But it is
> startling, and annoying to have to click [OK] to dismiss it.
>
> Any suggestions?


I would browse the Textpad forums. I couldn't find this exact message,
but here are three pages of suggestions to get you started:

"Associated files are not opened when double clicked"
http://forums.textpad.com/viewtopic.php?t=4237
 
Re: Association error "Cannot find the file..."

Mark Blain wrote:

> I would browse the Textpad forums. I couldn't find this exact message,
> but here are three pages of suggestions to get you started:
>
> "Associated files are not opened when double clicked"
> http://forums.textpad.com/viewtopic.php?t=4237


Mark, thanks for the suggestion. This link discusses a problem with
versions before 4.73 which was resolved in 4.73. I never had a problem
with 4.73, but the bug resurfaces in 5.0.3.

See: http://forums.textpad.com/viewtopic.php?t=8823

- Rich
 
Back
Top