Jump to content

How to enable F5(go) for *.cmd files ?


Exit
 Share

Recommended Posts

  • Developers

Edit Others.properties and at the bottom change it to this:

if PLAT_WIN
    command.go.*.cmd=$(FileNameExt)
    command.go.*.bat=$(FileNameExt)

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to comment
Share on other sites

Edit Others.properties and at the bottom change it to this:

if PLAT_WIN
command.go.*.cmd=$(FileNameExt)
command.go.*.bat=$(FileNameExt)

Jos, you are the king. :thumbsup:

But I changed it a little bit to create an additional command window.

if PLAT_WIN
command.go.*.cmd=Start $(FileNameExt)
command.go.*.bat=Start $(FileNameExt)

App: Au3toCmd              UDF: _SingleScript()                             

Link to comment
Share on other sites

And how to add an entry in the explorer file menu right click.

For *.AU3 files, there are entries "Edit script","Compile script","Tidy", .....

I would like to have an entry "Edit with SciTE" for *.cmd and *.bat files.

I think it would be a registry entry like this one for folder menu CMD open

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Folder\shell\cmd]

@="Open CMD prompt"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Folder\shell\cmd\command]

@="CMD.EXE /S /K pushd \"%1\""

App: Au3toCmd              UDF: _SingleScript()                             

Link to comment
Share on other sites

@Jos Thanks. Works perfect. :thumbsup:

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\cmdfile\shell\EditSciTE]

@="Edit with SciTE"

[HKEY_CLASSES_ROOT\cmdfile\shell\EditSciTE\command]

@="\"G:\\Program Files (x86)\\AutoIt3\\SciTE\\SciTE.exe\" \"%1\""

[HKEY_CLASSES_ROOT\batfile\shell\EditSciTE]

@="Edit with SciTE"

[HKEY_CLASSES_ROOT\batfile\shell\EditSciTE\command]

@="\"G:\\Program Files (x86)\\AutoIt3\\SciTE\\SciTE.exe\" \"%1\""

Edited by Exit

App: Au3toCmd              UDF: _SingleScript()                             

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
 Share

  • Recently Browsing   0 members

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