-
How do I add a menu item in Windows Explorer, when I right click a file, with the caption "Notepad" and when I click it, I want it to open the file in Notepad.
-
In Windows Explorer...
Choose View > Folder Options > File Types...
What type of document is that ???
Find it's name.
Example : if the file has an extension .txt
then search for Text Document in the list.
Or else for a new Extension ...say *.dat
Click on New Type.. fill up the following
boxes.
then look below for the new button.
Click it. Then type the action u want to call . Say ..'Open With Notepad' ..then choose the program notepad for program click
ok for all.
that's it
---------------->>>
-
Thanks, but that wasn't really what I had in my mind, what I really wanted was to make an association with ALL FILES, not just on type.
There was a way to do it in the registry, but I can't remember how it was, something hade to do with Shell och ShellEx. !?!?
Please help!
-
If you want open all files in notepad...
Better do this..
------------------------------
Create a short cut to notepad.
and place that in your windows\sendto
folder...
That's it. Whenever u want to open a file
rightclick and choose
-> sendto -> notepad.
Simple !!!!!
------------------------------------
-
Hmmmm, never mind then....
-
You have to edit the registry...
Add the directories to HKEY_CLASSES_ROOT/*
Shell/Notepad/command
Then change the Default of HKEY_CLASSES_ROOT/*/Shell/Notepad/command to C:\WINDOWS\notepad %1
If you want a different name in the popup menu then "Notpad" then change the default of HKEY_CLASSES_ROOT/*/Shell/Notepad to "Edit in &Notepad...or whatever you want.
Hope that helps.
------------------
-FirePoweR-
[email protected]