This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallAnywhere
- :
- InstallAnywhere Forum
- :
- System environment PATH deletes if the character limit is more then 1024
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
May 02, 2011
07:59 AM
System environment PATH deletes if the character limit is more then 1024
Hi,
we got one issue while installing one of our product. we are having more then 1024 character in Environment PATH variable and we tried to install our product but as soon as installed all variables in that PATH deleted and only the current installed product path is present.
Can anyone help me out??
Thanks in advance
Anu
we got one issue while installing one of our product. we are having more then 1024 character in Environment PATH variable and we tried to install our product but as soon as installed all variables in that PATH deleted and only the current installed product path is present.
Can anyone help me out??
Thanks in advance
Anu
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
May 05, 2011
07:15 AM
Hi Anu,
You can substitute the most commonly used path with a drive name, say 'R' using the 'subst' command. And then use that drive to replace all the occurances of that common directory path. This effectively reduces the whole PATH variable size.
Ex: If most of your binaries present under C:\Program Files\User binaries\Application binaries, then you can subst this with
subst R: C:\Program Files\User binaries\Application binaries
And replace all the occrances of 'C:\Program Files\User binaries\Application binaries' with 'R:'.
And this shouldn't be a problem in the latest OS.
Thanks,
Rangarao
You can substitute the most commonly used path with a drive name, say 'R' using the 'subst' command. And then use that drive to replace all the occurances of that common directory path. This effectively reduces the whole PATH variable size.
Ex: If most of your binaries present under C:\Program Files\User binaries\Application binaries, then you can subst this with
subst R: C:\Program Files\User binaries\Application binaries
And replace all the occrances of 'C:\Program Files\User binaries\Application binaries' with 'R:'.
And this shouldn't be a problem in the latest OS.
Thanks,
Rangarao