Cannot find the file..... error on opening

General questions about using TextPad

Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard

Post Reply
ajohnson-tp
Posts: 3
Joined: Fri May 18, 2007 6:15 pm

Cannot find the file..... error on opening

Post by ajohnson-tp »

I get the error "Cannot find the file xxxx.xxx or one of its components.... "when trying to open a file from windows explorer or winzip. However the file actually opens fine; it just displays the error message.
Any ideas why? I'm running textpad 5.0.3

I'd post a screen shot, but I'm not sure how...
Jake
Posts: 5
Joined: Thu Dec 04, 2003 8:46 pm

Post by Jake »

Getting an error here as well...and here's a screencap...

Image
ajohnson-tp
Posts: 3
Joined: Fri May 18, 2007 6:15 pm

Post by ajohnson-tp »

This seems to have fixed it for me.
Change the registry key in

HKEY_CLASSES_ROOT\applications\TextPad.exe\shell\open\command

From
"C:\Program Files\TextPad 5\TextPad.exe" -s "%1"
To
"C:\Program Files\TextPad 5\TextPad.exe" "%1"
ajohnson-tp
Posts: 3
Joined: Fri May 18, 2007 6:15 pm

Post by ajohnson-tp »

Found this in the Known Problems section as well:

On Windows 2000 and XP, TextPad will freeze if you right click an associated file in the Open File dialog box, and choose Open from the context menu. This is due to a known problem in Windows. To avoid it, simply select the file and click the Open button. You can work around it by making Explorer use the command line, rather than DDE messages, to pass file names to TextPad. For example, to make the change for TXT files:
Click Start/Run and run REGEDIT.EXE.
Select the key HKEY_CLASSES_ROOT\TextPad.txt\shell\open\command
Double click "(Default)", in the right hand pane and replace the -s parameter with "%1" (including the quotes).
Select the key HKEY_CLASSES_ROOT\TextPad.txt\shell\open\ddeexec
Press the Delete key, to delete it.
WARNING: Be careful, when using Regedit, as it does not have an undo facility.
Post Reply