Skip to content

Instantly share code, notes, and snippets.

@johanbove
Last active August 29, 2015 14:22
Show Gist options
  • Save johanbove/1e6dab95f4407be38285 to your computer and use it in GitHub Desktop.
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
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
@johanbove
Copy link
Author

Put Windows batch script in your %HOMEPATH%

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