Hacker News new | ask | show | jobs
by antback 1947 days ago
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