![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks. |
| |||||||
![]() |
| |
| | #1 (permalink) |
| | 255 character limit on strings created in .vbs doesn't exist Also, I've just realized that strings created in .vbs files are not limited to 255 characters. I thought that they were. I seem to remember in the past wanting to create long strings and finding it wasn't possible because of the 255 character limit. Am I imagining that, or has there been a change in the capability of VB scripting? Thanks, Larry |
My System Specs![]() |
| | #2 (permalink) |
| | Re: 255 character limit on strings created in .vbs doesn't exist "Larry" <larry328NOSPAM@xxxxxx> wrote in message news:eTdYs215JHA.1716@xxxxxx Quote: > Also, I've just realized that strings created in .vbs files are not > limited > to 255 characters. I thought that they were. I seem to remember in the > past > wanting to create long strings and finding it wasn't possible because of > the > 255 character limit. Am I imagining that, or has there been a change in > the > capability of VB scripting? Quote: > Thanks, > Larry > |
My System Specs![]() |
| | #3 (permalink) |
| | Re: 255 character limit on strings created in .vbs doesn't exist "Larry" <larry328NOSPAM@xxxxxx> wrote in message news:eTdYs215JHA.1716@xxxxxx Quote: > Also, I've just realized that strings created in .vbs files are not > limited > to 255 characters. I thought that they were. I seem to remember in the > past > wanting to create long strings and finding it wasn't possible because of > the > 255 character limit. Am I imagining that, or has there been a change in > the > capability of VB scripting? > > Thanks, > Larry |
My System Specs![]() |
| | #4 (permalink) |
| | Re: 255 character limit on strings created in .vbs doesn't exist On Jun 7, 10:16*am, "Pegasus [MVP]" <n...@xxxxxx> wrote: Quote: > "Larry" <larry328NOS...@xxxxxx> wrote in message > > news:eTdYs215JHA.1716@xxxxxx > Quote: > > Also, I've just realized that strings created in .vbs files are not > > limited > > to 255 characters. I thought that they were. I seem to remember in the > > past > > wanting to create long strings and finding it wasn't possible because of > > the > > 255 character limit. *Am I imagining that, or has there been a changein > > the > > capability of VB scripting? Quote: > > Thanks, > > Larry > You're thinking of Turbo Pascal. character strings. Also, VBScript still limits strings to 1024 characters in MsgBox displays. The WSH ECHO is not limited (except by what can be seen on the screen). Tom Lavedas *********** |
My System Specs![]() |
| | #5 (permalink) |
| | Re: 255 character limit on strings created in .vbs doesn't exist "T Lavedas" <tglbatch@xxxxxx> wrote in message news:3f9824e2-859a-47c5-9388-6ddc44361d00@xxxxxx On Jun 7, 10:16 am, "Pegasus [MVP]" <n...@xxxxxx> wrote: Quote: > "Larry" <larry328NOS...@xxxxxx> wrote in message > > news:eTdYs215JHA.1716@xxxxxx > Quote: > > Also, I've just realized that strings created in .vbs files are not > > limited > > to 255 characters. I thought that they were. I seem to remember in the > > past > > wanting to create long strings and finding it wasn't possible because of > > the > > 255 character limit. Am I imagining that, or has there been a change in > > the > > capability of VB scripting? Quote: > > Thanks, > > Larry > You're thinking of Turbo Pascal. character strings. Also, VBScript still limits strings to 1024 characters in MsgBox displays. The WSH ECHO is not limited (except by what can be seen on the screen). ---------------- I think VBScript's message box is the limitation; it limits the display to the shorter of: 1) the first 1024 characters of a string or 2) the beginning of a string up to the first Chr(0) character. -Paul Randall |
My System Specs![]() |
| | #6 (permalink) |
| | Re: 255 character limit on strings created in .vbs doesn't exist > Also, VBScript still limits strings to 1024 characters in MsgBox Quote: > displays. The WSH ECHO is not limited (except by what can be seen on > the screen). > ---------------- > I think VBScript's message box is the limitation; it limits the display to > the shorter of: > 1) the first 1024 characters of a string or > 2) the beginning of a string up to the first Chr(0) character. Thanks. That may explain what I was under the impressiono that the maximum length of strings was very limited. |
My System Specs![]() |
![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Forum | |||
| non expandable here strings | PowerShell | |||
| How to extract sub-strings? | VB Script | |||
| question regarding strings | PowerShell | |||
| Files created by Powershell are over 2X bigger than files created bytext editor or cmd.exe. | PowerShell | |||
| Why still a 260 character path limit ? | Vista General | |||