The documentation of cmd.exe
tells us there is a 8191 character limit to a cmd.exe command line. Powershell may have the same issue (but anyway I think it is not compatible with cmd syntax).
The Windows OS technical limit is "much" higher, at 32767 caracters or so (see CreateProcessA documentation).
Are there compatible alternative shells to cmd.exe
that increase the command line length limit above 8191 characters ?
Note 1: I am not asking about a terminal emulator (GUI) problem: this is a shell problem.
Note 2: I believe this question is not a duplicate because it is focused on a precise limitation of cmd.exe
. Also I could not post my Yori
answer on this or this questions because they are closed.