Doskey on CMD prompt
Create a doskey macro file:
ls=dir /q $1
ip=ipconfig $*
np=notepad++.exe
vs=devenv- Copy this file to a specified location e.g.
c:\utilities - Open the a command prompt
- Edit the
Shortcuttab, underTarget - Copy the following into the
Targetpath
%windir%\system32\cmd.exe /k doskey /macrofile=c:\utilities\macros.doskey && Title HappyConsoleCMD Parameters
/K - Carries out the command specified by string but remains.
Doskey Parameters
/macrofile = <FileName> Specifies a file that contains the macros that you want to install.