Skip to content

Instantly share code, notes, and snippets.

@andresgutgon
Forked from mmuell/dosbatch.sublime-build
Created October 29, 2012 15:12
Show Gist options
  • Save andresgutgon/3974097 to your computer and use it in GitHub Desktop.
Save andresgutgon/3974097 to your computer and use it in GitHub Desktop.
Batch File Running for Sublime Text 2
{
"cmd": ["$file"],
"working_dir": "$file_path",
"selector": "source.dosbatch"
}
@andresgutgon
Copy link
Author

"After some digging I was able to figure out how to run a Windows Batch File (.bat) from within Sublime Text. Simply add a Build System with the following and when editing a batch file ctrl + b will run the file sending the output to the Sublime Text output window."
Source:
http://blog.mmuell.com/index.php/2012/05/run-batch-file-within-sublime-text/

@byrain
Copy link

byrain commented Jul 15, 2014

really helpful. Thank your :) 👍

@jonathanbell
Copy link

Very nice! Thanks.

@apuchkov
Copy link

Handy!

@den-run-ai
Copy link

@madoodia
Copy link

thanks man
it helps me alot

@ponggung
Copy link

ponggung commented Feb 6, 2017

Thanks
it works

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment