From f89f2232e532a7b85437149e011d41a4f59836e7 Mon Sep 17 00:00:00 2001 From: Ethan Dalool Date: Wed, 15 Jan 2020 21:34:01 -0800 Subject: [PATCH] Add cmd_autoexec.bat. --- cmd_autoexec.bat | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 cmd_autoexec.bat diff --git a/cmd_autoexec.bat b/cmd_autoexec.bat new file mode 100644 index 0000000..4ed9a4b --- /dev/null +++ b/cmd_autoexec.bat @@ -0,0 +1,11 @@ +@echo off +REM 1. Go to or create "HKCU\Software\Microsoft\Command Processor" +REM 2. Create string value "Autorun" +REM 3. Set its value to "call " +REM And now all of these commands will be invisibly executed in every new cmd window. +REM I use it to set doskeys which are as close as Windows gets to unix aliases. + +doskey .=cd. +doskey ..=cd.. +doskey ...=start. +doskey \=cd\