notepad reinstall

  • Thread starter Thread starter jim
  • Start date Start date
J

jim

I recently replaced Notepad.exe in W2K with Metapad. I
have now reinstalled Notepad.exe. I have reinstalled
Notepad.exe in all the right folders i.e. WINNT, SYSTEM32
and DLLCACHE. When I try to open any *.txt file I get the
error mesage "Cannot find file "path\filename" (or one of
its components). Make sure the path and filename are
correct and that all required libraries are available."
Can anyone help?

Thanks,
Jim.
 
From a command prompt;
assoc .txt
should return with
..txt=txtfile
if not
assoc .txt=txtfile
to restore the default file type association.

ftype txtfile
should return with
txtfile=%SystemRoot%\system32\NOTEPAD.EXE %1
if not
ftype txtfile=%SystemRoot%\system32\NOTEPAD.EXE %1
to restore the default open action for the file type

--
Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect

:
|I recently replaced Notepad.exe in W2K with Metapad. I
| have now reinstalled Notepad.exe. I have reinstalled
| Notepad.exe in all the right folders i.e. WINNT, SYSTEM32
| and DLLCACHE. When I try to open any *.txt file I get the
| error mesage "Cannot find file "path\filename" (or one of
| its components). Make sure the path and filename are
| correct and that all required libraries are available."
| Can anyone help?
|
| Thanks,
| Jim.
 
Dave,

It worked. From command prompt assoc .txt
returned .txt=txt_auto_file. I changed it as per your
instructions. ftype txtfile was OK. Seems to be working
fine. Thanks,
Jim.
 
You're welcome.

--
Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect

| Dave,
|
| It worked. From command prompt assoc .txt
| returned .txt=txt_auto_file. I changed it as per your
| instructions. ftype txtfile was OK. Seems to be working
| fine. Thanks,
| Jim.
 
Back
Top