Jump to content

edit and open cmd error


Recommended Posts

Posted

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


Posted

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

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

Posted

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.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Recently Browsing   0 members

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