Association error "Cannot find the file..."

R

Rich Pasco

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?
 
M

Mark Blain

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
 
R

Rich Pasco

Mark said:
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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top