开发者

What is the maximum length of a Window's command-line (cmd.exe) command?

开发者 https://www.devze.com 2023-01-02 08:21 出处:网络
There are many people asking questions on SO about how to get around the cmd.exe command maximum length. I was wondering what actually is the Windows c开发者_JAVA技巧ommand-line length limit? Is it di

There are many people asking questions on SO about how to get around the cmd.exe command maximum length. I was wondering what actually is the Windows c开发者_JAVA技巧ommand-line length limit? Is it different between version of Windows? Does using a 32-bit vs. a 64-bit version affect this limitation?


The first result of asking google about your question was this MS Knowledge Base article:

On computers running Microsoft Windows XP or later, the maximum length of the string that you can use at the command prompt is 8191 characters. On computers running Microsoft Windows 2000 or Windows NT 4.0, the maximum length of the string that you can use at the command prompt is 2047 characters.

0

精彩评论

暂无评论...
验证码 换一张
取 消