Console-Docs icon indicating copy to clipboard operation
Console-Docs copied to clipboard

Add examples to Console Aliases page

Open rubyFeedback opened this issue 3 years ago • 2 comments

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.

rubyFeedback avatar Aug 09 '21 17:08 rubyFeedback

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!)

rubyFeedback avatar Aug 09 '21 17:08 rubyFeedback

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!

miniksa avatar Aug 10 '21 16:08 miniksa