Skip to content

Instantly share code, notes, and snippets.

@rdebeasi
Last active August 29, 2015 14:24
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/f20dd6f9600ff7adef36 to your computer and use it in GitHub Desktop.
Save rdebeasi/f20dd6f9600ff7adef36 to your computer and use it in GitHub Desktop.
Like bash's .profile, but on Windows
@echo off
:: This file is like bash's .profile, but for the Windows command prompt.
:: To run this file when a command prompt starts, a registry entry at
:: "HKEY_CURRENT_USER\Software\Microsoft\Command Processor".
:: The name of the entry will be "AutoRun", and the value will be the path to this file.
:: http://darkforge.blogspot.co.uk/2010/08/permanent-windows-command-line-aliases.html
doskey subl="C:\Program Files\Sublime Text 3\sublime_text.exe" $*
doskey opendiff="C:\Program Files (x86)\Meld\meld\meld.exe" $*
doskey open="explorer" $*
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