Skip to content

Instantly share code, notes, and snippets.

@EtienneDuv
Last active February 14, 2023 17:36
Show Gist options
  • Save EtienneDuv/608f177430e12cf838a17693dfd2bbb4 to your computer and use it in GitHub Desktop.
Save EtienneDuv/608f177430e12cf838a17693dfd2bbb4 to your computer and use it in GitHub Desktop.
Custom DOSKEY in terminal

Add in regedit Computer\HKEY_CURRENT_USER\Software\Microsoft\Command Processor new key :

  • Autorun = doskey /macrofile="path/to/file/macro.txt" /f

Create file path/to/file/macro.txt

nr=npm run $*
ls=dir /OG /B $*
sub="D:\Programs\Sublime Text\sublime_text.exe" $*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment