Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.
Keywords: Intcontrol(1006,0,0,0) Message
With the following code:
unparsed=IntControl(1006,0,0,0,0) Message(StrLen(unparsed), unparsed)In Windows 95/98 the variable contents come in OK (it displays more than the 261 chars.)
In Windows NT 4.0, the message statements only displays up to 261 chars. I don't get an error message but it won't display past that.
Do you have any idea why the differences between the two operating systems?
It is limitation of the windows message box function. It was not designed for real long strings.
Any ideas?
In an interpreted script you get the command line passed to WinBatch.exe which is usually the name of the WBT file followed by other parameters.
In a large exe no WBT file information is passed. If you don't pass any parameters you will get a null string.
Article ID: W14229
Filename: Intcontrol 1006 and Strings Larger than 261 Chars.txt
File Created: 2000:03:03:11:26:10
Last Updated: 2000:03:03:11:26:10