Page 1 of 1

Ability to read doskey file from registry

Posted: 2024-10-18, 13:04 UTC
by KozakMak
So, I configured a doskey macro file:

Code: Select all

reg add "HKCU\Software\Microsoft\Command Processor" /v Autorun /d "doskey.cmd" /f
For example, it looks like this:

Code: Select all

DOSKEY ip=ipconfig.exe
DOSKEY ipf=ipconfig.exe /flushdns
DOSKEY ws=winget search $*
DOSKEY wi=winget install $*
TotalCmd read this file after start and we can use it in command line with alias like # and

Code: Select all

[em_al_cmd]
cmd=%COMSPEC% /k
param=%A

Re: Ability to read doskey file from registry

Posted: 2024-10-18, 14:26 UTC
by Horst.Epp
Sorry, but why should we use Doskey if TC has its own Alias function ?