Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Command to list all available commands in Windows Command Prompt

I’d like to programmatically get a list of all the available commands in Windows Command Prompt (cmd.exe). Is there something like compgen -c in Bash, but for Windows?

like image 262
Mathias Bynens Avatar asked Oct 21 '22 13:10

Mathias Bynens


1 Answers

This provides CMD specific commands.

help

and to page the output use this

help | more
like image 168
foxidrive Avatar answered Oct 30 '22 12:10

foxidrive



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!