|
-
Feb 6th, 2000, 01:45 AM
#1
Thread Starter
Lively Member
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.
-
Feb 6th, 2000, 03:55 AM
#2
Addicted Member
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
---------------->>>
-
Feb 6th, 2000, 03:59 AM
#3
Thread Starter
Lively Member
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!
-
Feb 6th, 2000, 04:23 AM
#4
Addicted Member
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 !!!!!
------------------------------------
-
Feb 6th, 2000, 04:25 AM
#5
Thread Starter
Lively Member
Hmmmm, never mind then....
-
Feb 6th, 2000, 09:12 AM
#6
Member
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]
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|