I can't find a way to get more than 64K characters on a command line. If I have in the clipboard " xxx ... xxx" (a space followed by 4094 x's) I can paste it into a command line 16 times (a total of 64K-16 characters). After that I just get a lot of beeps. What limit is coming into play there? I don't need to do that; I just want to understand what's happening.TCC doesn't have a size limit for command lines (other than what will fit in RAM). However, individual arguments are limited to 32K (filenames, the Windows limit) or 64K characters.
That said, a lot of Windows APIs will blow up if passed very long filenames, arguments or command lines.