News for hackers. Stuff that matters.
Re:Switching to Windows by antback on Friday February 12, 2021 @06:50AM (#26112682)
Nobody talk about doskey. When I started working in windows I missed my aliases that I had in linux. Doskey is a great tool to mimic the functionality. Some example of my aliases:

  edit="%EDITOR%" $\*
  kbs=ag $\* --file-search-regex "\.md$"  "C:\Users\my\Dropbox\MyNotes" 
  pg_start="C:\My Program Files\Scoop\apps\postgresql\current\bin\pg_ctl" start -D "C:\My Program Files\Scoop\apps\postgresql\current\data"
I load the file with the aliases like this:

  doskey /macrofile=C:\Users\me\doskey.cmd

There are no comments on this comment yet.