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
  • Select an option

  • Save andresgutgon/3974097 to your computer and use it in GitHub Desktop.

Select an option

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

byrain commented Jul 15, 2014

Copy link
Copy Markdown

really helpful. Thank your :) 👍

@jonathanbell

Copy link
Copy Markdown

Very nice! Thanks.

@apuchkov

Copy link
Copy Markdown

Handy!

@den-run-ai

Copy link
Copy Markdown

@madoodia

Copy link
Copy Markdown

thanks man
it helps me alot

@ponggung

ponggung commented Feb 6, 2017

Copy link
Copy Markdown

Thanks
it works

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