in reply to Open new cmd prompt and list directory content on it

When you copy/paste that command in cmd.exe, it behaves the exact same way -- thats what pipes do, they execute in the current window

remove the pipe character and read "help cmd.exe"

  • Comment on Re: Open new cmd prompt and list directory content on it

Replies are listed 'Best First'.
Re^2: Open new cmd prompt and list directory content on it
by GotToBTru (Prior) on Jun 22, 2015 at 20:37 UTC

    Or, for later versions of Windows, use

    C:\> cmd.exe /?

    This has the advantage over this suggestion in that it also informs how to execute more than one command.

    Dum Spiro Spero