PDA

View Full Version : help with file ext.


Ryan
June 2nd 04, 01:16 PM
Is there a way to get winxp professional to open a file with no file ext in notepad

Ramesh [MVP]
June 2nd 04, 03:06 PM
Ryan,

Copy the contents to a notepad and save as REG file ("ext.reg") and =
double-click it.

Exclude the lines - start from "Windows Registry Editor Version 5.00"

-------
Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\.]

[HKEY_CLASSES_ROOT\.\shell]

[HKEY_CLASSES_ROOT\.\shell\open]

[HKEY_CLASSES_ROOT\.\shell\open\command]
@=3D"%SystemRoot%\\system32\\NOTEPAD.EXE %1"

------

--=20
Ramesh - Microsoft MVP
Windows XP Shell/User
http://www.mvps.org/sramesh2k

The Parasite Fight - Quick Fix Protocol:=20
http://aumha.org/a/quickfix.htm

------------------------------------------------
"Ryan" > wrote in message =
...
Is there a way to get winxp professional to open a file with no file ext =
in notepad

Ramesh [MVP]
June 2nd 04, 03:06 PM
Try this:

-------
Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\.]

[HKEY_CLASSES_ROOT\.\shell]

[HKEY_CLASSES_ROOT\.\shell\open]

[HKEY_CLASSES_ROOT\.\shell\open\command]

@=3D"notepad.EXE \"%1\""

------

--=20
Ramesh - Microsoft MVP
Windows XP Shell/User
http://www.mvps.org/sramesh2k

The Parasite Fight - Quick Fix Protocol:=20
http://aumha.org/a/quickfix.htm

------------------------------------------------
"Ramesh [MVP]" > wrote in message =
news:...
Ryan,

Copy the contents to a notepad and save as REG file ("ext.reg") and =
double-click it.

Exclude the lines - start from "Windows Registry Editor Version 5.00"

-------
Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\.]

[HKEY_CLASSES_ROOT\.\shell]

[HKEY_CLASSES_ROOT\.\shell\open]

[HKEY_CLASSES_ROOT\.\shell\open\command]
@=3D"%SystemRoot%\\system32\\NOTEPAD.EXE %1"

------

--=20
Ramesh - Microsoft MVP
Windows XP Shell/User
http://www.mvps.org/sramesh2k

The Parasite Fight - Quick Fix Protocol:=20
http://aumha.org/a/quickfix.htm

------------------------------------------------
"Ryan" > wrote in message =
...
Is there a way to get winxp professional to open a file with no file ext =
in notepad

Ryan
June 3rd 04, 12:56 PM
Xref: kermit microsoft.public.windowsxp.customize:122535

I had tried to put this in a file and name it ext.reg, but when I double click on it I get an error message that says
The specifide file is not a registy script. you can only import binary registy files from within the regestry editor.

Here is what I had in that file.

[HKEY_CLASSES_ROOT\.]

[HKEY_CLASSES_ROOT\.\shell]

[HKEY_CLASSES_ROOT\.\shell\open]

[HKEY_CLASSES_ROOT\.\shell\open\command]
@="%SystemRoot%\\system32\\NOTEPAD.EXE %1"

Ramesh [MVP]
June 3rd 04, 04:55 PM
Include the line "Windows Registry Editor Version 5.00" as well. Use =
this script.

-------
Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\.]

[HKEY_CLASSES_ROOT\.\shell]

[HKEY_CLASSES_ROOT\.\shell\open]

[HKEY_CLASSES_ROOT\.\shell\open\command]

@=3D"notepad.EXE \"%1\""

------

--=20
Ramesh - Microsoft MVP
Windows XP Shell/User
http://www.mvps.org/sramesh2k

The Parasite Fight - Quick Fix Protocol:=20
http://aumha.org/a/quickfix.htm

------------------------------------------------
"Ryan" > wrote in message =
...
I had tried to put this in a file and name it ext.reg, but when I double =
click on it I get an error message that says
The specifide file is not a registy script. you can only import binary =
registy files from within the regestry editor.

Here is what I had in that file.

[HKEY_CLASSES_ROOT\.]

[HKEY_CLASSES_ROOT\.\shell]

[HKEY_CLASSES_ROOT\.\shell\open]

[HKEY_CLASSES_ROOT\.\shell\open\command]
@=3D"%SystemRoot%\\system32\\NOTEPAD.EXE %1"

Ryan
June 3rd 04, 07:12 PM
Thanks that worked

Ramesh [MVP]
June 3rd 04, 08:14 PM
Welcome.

--=20
Ramesh - Microsoft MVP
Windows XP Shell/User
http://www.mvps.org/sramesh2k

AumHa VSOP: http://www.aumha.org

"Ryan" > wrote in message =
...
Thanks that worked

Google