Page 1 of 1
Cannot find the file..... error on opening
Posted: Fri May 18, 2007 6:33 pm
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...
Posted: Sat May 19, 2007 2:32 am
by Jake
Getting an error here as well...and here's a screencap...

Posted: Mon May 21, 2007 9:42 pm
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"
Posted: Mon May 21, 2007 9:48 pm
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.