In Linux, I can use man ls
to get help, and I know that the help files for the ls
command are stored in the "man" folder. In Windows CMD, I can use dir /?
to get help, but where are the help files for CMD commands stored?
Your question basically is if you know a command, then you want to find that binary file's path. Which is equivalent to the question:
Is there an equivalent of 'which' on the Windows command line?
Please look at the following answer in the above question https://stackoverflow.com/a/27140194
In cmd
, there are internal commands and external commands. Internal commands reside in cmd.exe
, external commands are executables.
The help for internal commands also is inside cmd.exe
, the help for external commands is in their .EXE.
See here for details.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.