Skip to content

Instantly share code, notes, and snippets.

@mbrownnycnyc
Last active December 22, 2015 04:48
Show Gist options
  • Save mbrownnycnyc/6419147 to your computer and use it in GitHub Desktop.
Save mbrownnycnyc/6419147 to your computer and use it in GitHub Desktop.
batch file for use with: HKCU\Software\Microsoft\Command Processor REG_SZ AutoRun
@echo off
doskey clear=cls
doskey history=doskey /history
doskey ~=pushd "%userprofile%"
set prompt=CMD $P$G
REM `chocolatey install module -source python` doesn't like parsing these strings.
REM echo.
REM echo.
REM echo aliases set: `history`, `clear`
REM echo `~` will be `pushd` on top of dir stack. `popd` to get out.
echo on
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment