Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/michaelchadwick/dotfiles-win
Dot-like file(s) for better Windows command line health
https://github.com/michaelchadwick/dotfiles-win
doskey macros windows
Last synced: about 1 month ago
JSON representation
Dot-like file(s) for better Windows command line health
- Host: GitHub
- URL: https://github.com/michaelchadwick/dotfiles-win
- Owner: michaelchadwick
- Created: 2015-02-06T17:42:15.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2016-05-19T04:10:27.000Z (over 8 years ago)
- Last Synced: 2023-03-29T20:15:24.818Z (over 1 year ago)
- Topics: doskey, macros, windows
- Language: Batchfile
- Homepage:
- Size: 4.88 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Dot-ish File(s) for Windows
Despite Windows not having true "."-files, there is a way to enhance your command line with some extra sugar.
Enter [DOSKEY](http://ss64.com/nt/doskey.html).
Just make a shortcut to `cmd.exe` with an argument that pulls in a `.cmd` (can't be a batch file) file with a bunch of `DOSKEY` commands:
Ex. `C:\Windows\System32\cmd.exe /K C:\mystuff\doskeys.cmd`
Each DOSKEY command acts as a macro/alias. This file also pulls in a separate file (`doskeys-priv.cmd`) with variables set to private directories that don't need to be tracked and don't need to be public ;P
_Note_: a lot of commands in here, like `curl` and `choco`, are assumed to be installed and in your PATH already, so this won't work out-of-the-box.