Skip to content

Instantly share code, notes, and snippets.

@rdebeasi
Created July 10, 2014 13:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rdebeasi/d247a9dd71e71d5cd0cb to your computer and use it in GitHub Desktop.
Save rdebeasi/d247a9dd71e71d5cd0cb to your computer and use it in GitHub Desktop.
Batch file to set up OSX-style shortcuts to commonly used commands
@echo off
:: the "2>NUL" surpresses error messages. Web workbench executes autorun
:: but does not have access to sublime text or meld, so it throws errors.
2>NUL doskey subl="C:\Program Files\Sublime Text 3\sublime_text.exe" $*
2>NUL doskey opendiff="C:\Program Files (x86)\Meld\meld\meld.exe" $*
2>NUL doskey open="explorer" $*
2>NUL doskey ajaxmin="C:\Program Files (x86)\Microsoft\Microsoft Ajax Minifier\ajaxmin.exe" $*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment