Skip to content

Instantly share code, notes, and snippets.

@izimbra
Created May 12, 2016 12:14
Show Gist options
  • Select an option

  • Save izimbra/11cd23d0bff8cd6dac2498942ebf9a77 to your computer and use it in GitHub Desktop.

Select an option

Save izimbra/11cd23d0bff8cd6dac2498942ebf9a77 to your computer and use it in GitHub Desktop.
Set default folder for CMD run in administrator mode #win #cmd
REG ADD "HKCU\SOFTWARE\Microsoft\Command Processor" /v AutoRun /t REG_SZ /d "CD /D C:\Path\To\Folder"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment