Is there an MS DOS (Windows 10 CMD) command that doesn't have an help file? Is there any…
- User
Is there an MS DOS (Windows 10 CMD) command that doesn't have an help file? Is there any that would make 'help' fail?
- Assistant
Is there an MS DOS (Windows 10 CMD) command that doesn't have an help file? Is there any that would make 'help' fail?
Yes, in Windows 10's Command Prompt (CMD), the help command is designed to provide information exclusively about built-in CMD commands. External programs and executable files, which are not inherently part of CMD's command set, do not have associated help entries within the help command. Here's a detailed breakdown:
Built-in Commands: These are commands that are integrated into CMD itself. Examples include COPY, DIR, ECHO, SET, and many others. You can access their help information using:
help <command>
For example:
help copy
This will display detailed usage information for the COPY command.
External Commands: These are standalone executable programs located outside of CMD's internal command set, typically in directories like C:\Windows\System32 or other locations in your system's PATH. Examples include notepad, calc, ping, and third-party utilities. The help command does not provide assistance for these. Instead, to access help for external commands, you usually append /? to the command itself. For example:
notepad /?
This will display help information specific to Notepad.
help CommandListing Commands: When you type help without any arguments, CMD lists only the built-in commands along with a brief description of each. External commands are not listed in this output.
Attempting to Get Help on External Commands: If you try to use help with an external command, like so:
help notepad
CMD will respond with:
'NOTEPAD' is not recognized as an internal or external command, operable program or batch file.
This indicates that help doesn't recognize notepad as a built-in command with associated help.
Does help Fail? Using external commands with help does not cause the help command itself to fail. It simply doesn't provide assistance for those external commands. The help command remains fully functional and useful for all built-in CMD commands.
While all built-in CMD commands in Windows 10 have corresponding help entries accessible via the help command, external commands and programs do not. Attempting to access help for these external entities using help will not provide the desired information but also won't disrupt or cause the help command to fail.
Example Usage:
Built-in Command Help:
C:\> help copy
Displays help for the COPY command.
External Command Help:
C:\> help notepad
Likely returns an error stating that 'NOTEPAD' is not recognized as an internal or external command (which isn't accurate since notepad is a valid external command). To get help for Notepad, use:
C:\> notepad /?
For comprehensive help on any command, whether built-in or external, using the /? switch is generally the most reliable method:
command /?
This approach ensures you receive the appropriate help information directly from the command or program itself.
I hope this clarifies how the help command interacts with different types of commands in Windows 10's CMD! If you have any further questions or need more examples, feel free to ask.
Not yet included in a published release.