Jump to content
Sign in to follow this  
ivan

max string length of a $cmdline parameter

Recommended Posts

ivan

Is anyone aware of any limitations on the length of a string of a parameter in the cmdline array?

The $cmdline array is limited to 63 elements but I need to pass a whole array containing variable amount of elements from one script to another. I think the best solution for me is to encript the array as a binary string and pass only one parameter in the $cmdline array. This leaves me with the initial question before attempting a trial and error solution...

Help would be much appreciated. Thanks in advance.

IVAN

Share this post


Link to post
Share on other sites
PsaltyDS

I think the only limit would be the Windows shell limit for a single command line (about 4095 characters).

:)

P.S. Search the forum for better methods of inter-process comms, like WM_COPYDATA messages. :)

Edited by PsaltyDS

Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law

Share this post


Link to post
Share on other sites
ivan

I think the only limit would be the Windows shell limit for a single command line (about 4095 characters).

:)

P.S. Search the forum for better methods of inter-process comms, like WM_COPYDATA messages. :)

Cheers, solved it via ini file after crashing, but thx.

Edited by ivan

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×