I'm trying to implement a slight modification to the code provided by @Argyll in this SO answer, specifically changing:
DOSKEY alias=notepad %USERPROFILE%\Dropbox\alias.cmd
to:
doskey alias=echo doskey $*>>%0
But the redirection fails when I use this new alias, and I simply get doskey <whatever I typed after alias>
echo'ed to the console as per usual :-(
As you can probably tell, I'm a batch script noob, so what am I doing wrong here? MTIA :-)