Console-Docs
Console-Docs copied to clipboard
Add examples to Console Aliases page
Hey guys,
Reading up on:
https://docs.microsoft.com/en-us/windows/console/console-aliases?redirectedfrom=MSDN
I noticed there aren't any examples.
Would it be possible to add a few examples?
Right now I found examples on StackOverflow, but it would be helpful if that page also lists a few examples, say 3 - 5 examples or so. Even simple ones.
Coming from a Linux background I struggle sometimes with Windows due to not having used it in a long time.
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
- ID: 831a01bc-cc44-8d31-ac65-36993299e89a
- Version Independent ID: 3bd4cf24-3830-ccc9-bd8c-59e42206417f
- Content: Console Aliases - Windows Console
- Content Source: docs/console-aliases.md
- Product: console
- GitHub Login: @miniksa
- Microsoft Alias: miniksa
Just to clarify: there is one example there but I'd like a short subsection ideally, just something you can quickly copy/paste into a standalone file. I will be testing the:
cmd.exe /K env.cmd
suggestion on StackOverflow. (I am only using doskey as a temporary workaround to get all my cd-specific aliases to work properly, and a few other shortcuts; I use cmd.exe just as a generic fallback on another computer. On my win10 laptop I use other things, including powershell, WSL etc... but I have to work on another, older computer soon, so I am just trying to set it up quickly and conveniently. I can just carry or even autogenerate the env.cmd file for use via doskey, for instance, which is why I'd prefer the page to also show more examples right now. Thanks for reading!)
Can you link me the StackOverflow suggestion you're using so I can see what it says?
I can perhaps update this in the next documentation pass, but be aware that I've marked this particular functionality as "deprecated" in an attempt to discourage its use in favor of more modern things. We will continue to support it, though, so I could improve the documentation. It will just be a lower priority for me to write out than improving documentation on non-deprecated things.
Thanks!