Created
January 26, 2012 03:04
-
-
Save jongalloway/1680695 to your computer and use it in GitHub Desktop.
Chocolatey - launching apps via PowerShell
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if not "%*" =="" SET args = "-argumentlist \"%*\" | |
powershell -command "start-process -filepath \"..\lib\sublimetext2.2.0.2165\tools\sublime_text.exe\" %args%" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
SET DIR=%~dp0% | |
"%DIR%..\lib\sublimetext2.2.0.2165\tools\sublime_text.exe" %* |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment