Skip to content

Instantly share code, notes, and snippets.

@grenade
Created September 9, 2013 09:27
Show Gist options
  • Save grenade/6493413 to your computer and use it in GitHub Desktop.
Save grenade/6493413 to your computer and use it in GitHub Desktop.
Make the Windows command prompt, open in a specific directory.
reg add "HKEY_CURRENT_USER\Software\Microsoft\Command Processor" /v AutoRun /t REG_SZ /d "if x%COMSPEC%==x%CMDCMDLINE% (cd /d d:\)"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment