Last active
August 29, 2015 14:22
-
-
Save johanbove/1e6dab95f4407be38285 to your computer and use it in GitHub Desktop.
Opens up a specific workspace folder for me quickly from the Windows command line
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
REM Take me to a specific workspace folder | |
echo off | |
set project=%1 | |
set thepath=".\Dropbox\%USERNAME%\workspace\active\%project%" | |
echo Hi %USERNAME%, getting project %thepath% for you... | |
cd %thepath% | |
REM ``ls`` only works when cygwin is installed, otherwise ``dir`` will do | |
call ls |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Put Windows batch script in your
%HOMEPATH%