Jump to content

edit and open cmd error


sixpack

Recommended Posts

hi there

i have a problem editing cmd file's

in my contexmenu there is only open.., and no edit or open with

i did try to change it in the file associations, but no luck

it's still open... only.. :blink:

is there somone that can help me with this

sorry for the bad english

Link to comment
Share on other sites


Click once on the file so that it is highlighted........

Then hold in shift and right click on the file.......

On the menu there should be the open with option.....

Then you can choose either notepad or wordpad to edit with....

if i do that there ar no options

not even open :no:

Link to comment
Share on other sites

Try this.. save it as cmdfile.reg and run it.

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.cmd]
@="cmdfile"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\cmdfile]
@="Windows NT Command Script"
"EditFlags"=hex:30,04,00,00

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\cmdfile\DefaultIcon]
@=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25,\
 00,5c,00,53,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,73,00,68,00,\
 65,00,6c,00,6c,00,33,00,32,00,2e,00,64,00,6c,00,6c,00,2c,00,2d,00,31,00,35,\
 00,33,00,00,00

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\cmdfile\shell]

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\cmdfile\shell\edit]
@="&Edit"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\cmdfile\shell\edit\command]
@=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25,\
 00,5c,00,53,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,4e,00,4f,00,\
 54,00,45,00,50,00,41,00,44,00,2e,00,45,00,58,00,45,00,20,00,25,00,31,00,00,\
 00

*EDIT*

If that works and you need the other shell registry entries just ask.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...