Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Where can I set the path size configuration on Windows XP? 1

Status
Not open for further replies.

DavidGe

MIS
Feb 25, 2004
13
CA
Hi,

I met a problem when I try to install an oracle product on my windows XP home version. The error message said that the path length has exceeded 1023byte. Where can I change this setting?

Thanks

David

 
Thanks,

The issue is that my XP does not allow set environment variable path with more than 1023, not the 8193. Here is the originak error message from the installer log:

Exception String: The value of the enviroment variable PATH is more than 1023 characters. This value cannot be set.

Since the article just mention the way to avoid exceeding the path limitation by using short name, less depth, etc., which cannot be modified in the oracle installer. I want to know if there is somewhere to set the length of XP path limitation to 8193 in my XP home version.

David
 
Just like increase the environment path length by adding the following command into config.sys:

SHELL=COMMAND.COM /e:4096 /p

Is there any similar command or setting in the Windows XP?
 
For 16-bit MS-DOS programs only:

SUMMARY
Some MS-DOS applications may require specific allocations of environment space. In some cases, it may be desired to trim or expand this resource for troubleshooting purposes. Microsoft Windows NT version 4.0 allows for this setting to be customized.



MORE INFORMATION
The environment size for a single application may be adjusted via the desktop or via the Config.nt file.

To adjust via the desktop:

1.. Right-click on the application shortcut.

2.. Examine the properties for the shortcut and select the Memory tab.

3.. Type or select a value from the list if you wish to customize this setting. (The initial environment setting is set to AUTO by default. The value of AUTO causes the operating system to refer to the SHELL= line in the Config.nt file, if it exists.)

To adjust via the Config.nt file:

NOTE: Editing the Config.nt will change the default environment size.
1.. To use a specific Config.xx file for an application, specify the file to use by going to the Program tab of the shortcut's properties and clicking on the Windows NT button.

2.. Edit or create the SHELL= line in the Config.nt file accordingly. For example, to create an environment size of 512 bytes, the following may be used:

shell=%systemroot%\system32\command.com /e:512

The default environment size is 256 bytes, with a maximum possible size of 32 KB.

 
If you system is an Intel P4, this might be a JIT error: faq186-1124
 
Thanks bcastner,

But your suggestion doesnot work for this case. Now I find a way to work around this.First, copy and cut the system environment setting. Then install the oracle database, this time it goes well. After the installation done, append the cut environment setting back to the system environment setting. Now, all the system works well on the XP.

David
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top