This comes more or less from idle curiosity. I've been using DOS since the ear;y 80s, and before that CP/M-86. In the past several years, I've pretty much shifted to PowerShell. However, by habit of long standing, I still use the old DOS commands. In the Windows command prompt, I've been typing:
help dir
help dir > dirhelp.txt
help > doshelp.txt
Here's the question, and the answer most probably is, "No." Is there any PowerShell command (or cmd-let) that produces help for Windows commands?
Yeah, I know it's crazy, but inquiring minds want to know. 'gal' is the closest thing I use, but I miss the terse but useful DOS help.
help dirroughly equals:get-help Get-ChildItem?command.com? It doesn't exist at all on 64-bit Windows, and on 32-bit versions it's a 16-bit MS-DOS program. You seem to be confusing the Windows command prompt (cmd) with an obsolete 16-bit operating system commonly called DOS. The command prompt on Windows is not DOS and doesn't usecommand.com.