top | item 26112682

(no title)

antback | 5 years 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

discuss

order

No comments yet.