Results 1 to 6 of 6

Thread: This is not a VB Question, I just can't remember how to......

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Jul 1999
    Posts
    87

    Post

    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.

  2. #2
    Addicted Member
    Join Date
    Feb 2000
    Posts
    224

    Post

    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
    ---------------->>>

  3. #3

    Thread Starter
    Lively Member
    Join Date
    Jul 1999
    Posts
    87

    Post

    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!

  4. #4
    Addicted Member
    Join Date
    Feb 2000
    Posts
    224

    Post

    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 !!!!!
    ------------------------------------

  5. #5

    Thread Starter
    Lively Member
    Join Date
    Jul 1999
    Posts
    87

    Post

    Hmmmm, never mind then....

  6. #6
    Member FirePoweR's Avatar
    Join Date
    Apr 1999
    Posts
    32

    Post

    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
  •  



Click Here to Expand Forum to Full Width