PC Review Forums Newsgroups Windows XP Windows XP Setup Increase length of environment variables

Reply

Increase length of environment variables

 
Thread Tools Rate Thread
Old 26-04-2004, 03:21 AM   #1
Aurum Solutions, S.A. de C.V.
Guest
 
Posts: n/a
Default Increase length of environment variables


Hi.

I need an environment variable whose length is greater than 1023 chars. But
Windows XP only allows me to include environment variables shorter than 1024
chars. I have tried increasing environment space by setting value of Comspec
variable to c:\windows\system32 cmd.exe /e:2048 but it doesnt' work because
this increases the total size of all environment variables and what I want
is increasing the length of a single variable.

I've spent several hours looking for a solution on the Internet but I found
nothing.

Please help me. I don't know what to do.

Thanks in advance,

Vicent Palasi.


  Reply With Quote
Old 26-04-2004, 12:09 PM   #2
Pegasus \(MVP\)
Guest
 
Posts: n/a
Default Re: Increase length of environment variables


"Aurum Solutions, S.A. de C.V." <milleniumc@yahoo.com> wrote in message
news:ebgMdVzKEHA.808@tk2msftngp13.phx.gbl...
> Hi.
>
> I need an environment variable whose length is greater than 1023 chars.

But
> Windows XP only allows me to include environment variables shorter than

1024
> chars. I have tried increasing environment space by setting value of

Comspec
> variable to c:\windows\system32 cmd.exe /e:2048 but it doesnt' work

because
> this increases the total size of all environment variables and what I want
> is increasing the length of a single variable.
>
> I've spent several hours looking for a solution on the Internet but I

found
> nothing.
>
> Please help me. I don't know what to do.
>
> Thanks in advance,
>
> Vicent Palasi.
>
>


AFAIK this is a hard-coded limit. What are you trying
to do? There may be a way around this limitation.


  Reply With Quote
Reply



Thread Tools
Rate This Thread
Rate This Thread:

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off