Skip to content

Instantly share code, notes, and snippets.

@jan-swiecki
Created September 5, 2012 16:06
Show Gist options
  • Save jan-swiecki/3639090 to your computer and use it in GitHub Desktop.
Save jan-swiecki/3639090 to your computer and use it in GitHub Desktop.
cd + change drive letter, for windows.
@echo off
REM put this file in C:/Windows
REM then if you are in `d:/abc/cdf` and type `go e:/xxx` in cmd.exe, you will go there :)
cd %~f1
%~d1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment