Ability to read doskey file from registry
Posted: 2024-10-18, 13:04 UTC
So, I configured a doskey macro file:
For example, it looks like this:
TotalCmd read this file after start and we can use it in command line with alias like # and
Code: Select all
reg add "HKCU\Software\Microsoft\Command Processor" /v Autorun /d "doskey.cmd" /f
Code: Select all
DOSKEY ip=ipconfig.exe
DOSKEY ipf=ipconfig.exe /flushdns
DOSKEY ws=winget search $*
DOSKEY wi=winget install $*
Code: Select all
[em_al_cmd]
cmd=%COMSPEC% /k
param=%A