Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Vista General Discussion > command line maximum number of characters

Reply
Thread Tools Display Modes

command line maximum number of characters

 
 
Vincent
Guest
Posts: n/a

 
      07-09-2007
Hi all,

I'm new to Vista, so please forgive my newbie question.
Is there a limit in the number of characters in the command line?
I mean can I execute some commands like "my_very_longue_command.exe -param1
-param2 ..... -param200" with more than 300 or 400 characters?
And if there is a limit, is it possible to increase it?
And if it is possible, how to do it?

Many thanks.
Regards.
Vincent.
 
Reply With Quote
 
 
 
 
Ronnie Vernon MVP
Guest
Posts: n/a

 
      07-09-2007
Vincent

On computers running Microsoft Windows XP or later, the maximum length of
the string that you can use at the command prompt is 8,191 characters. On
computers running Microsoft Windows 2000 or Windows NT 4.0, the maximum
length of the string that you could use at the command prompt was 2,047
characters.
More information in the following KB article.

Command prompt (Cmd. exe) command-line string limitation:
http://support.microsoft.com/kb/830473


--

Ronnie Vernon
Microsoft MVP
Windows Shell/User


"Vincent" <> wrote in message
news:F2CF63C6-AA72-46EF-BDCD-...
> Hi all,
>
> I'm new to Vista, so please forgive my newbie question.
> Is there a limit in the number of characters in the command line?
> I mean can I execute some commands like
> "my_very_longue_command.exe -param1
> -param2 ..... -param200" with more than 300 or 400 characters?
> And if there is a limit, is it possible to increase it?
> And if it is possible, how to do it?
>
> Many thanks.
> Regards.
> Vincent.


 
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
more characters in a line needed Ronnie Windows Vista Mail 7 11-24-2007 10:51 PM
Maximum number of characters in file name extension pc nerd Windows Vista General Discussion 2 11-17-2007 09:24 PM
Maximum number of Mapped Drives with Vista 65gt Windows Vista Networking 0 08-02-2007 04:10 PM
Maximum number of fonts KatieS Windows Vista General Discussion 3 02-21-2007 05:40 AM
You have received the maximum number of product keys Bluemonkey Windows Vista General Discussion 3 06-09-2006 01:15 PM



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59