How To Generate A List Of All Available Commands In Windows Command Prompt

The Windows command prompt has many useful commands that can do useful things.

To make a list of these commands for reference, open the command prompt (Windows key + R) and type :


accessing windows command prompt

Once at the command prompt, simply dump the contents of the “help” command to an external text file by typing :

help >> pathwherethefileistobekept\filename.txt

In this example, file named commandlist.txt will be created in E: drive, so the command will be :

help >> e:\commandlist.txt

exporting windows command list to text file

Open the newly created text file. It will have all the commands listed in alphabetical order that are available in Windows command prompt. 🙂

list of windows command prompt commands in a text file