Oracle client installation error - path too long

后端 未结 12 847
温柔的废话
温柔的废话 2021-01-01 09:49

I\'m trying to install Oracle 11g Release 2 (client). But it gives an error like that :

Environment variable: \"PATH\" - This test checks whether the length          


        
12条回答
  •  走了就别回头了
    2021-01-01 10:21

    I used two approaches to shorten my PATH environmental variable:

    1) Use other environment variables, e.g.: %CommonProgramFiles(x86)% for "C:\Program Files (x86)\Common Files" %ProgramFiles(x86)% for "C:\Program Files (x86)"

    2) Use 8 character DOS path names, e.g.: MICROS~4 for "Microsoft SQL Server" * Your system may have a different number, in a CMD window, browse to the parent folder and type "dir /ad /x"

    "%ProgramFiles(x86)%\Micros~4\140\DTS\Binn" is 15 characters shorter than "C:\Program Files (x86)\Microsoft SQL Server\140\DTS\Binn"

    I shrank the total length of the PATH from 1120 to 890. Then I could install the Oracle client without a problem.

提交回复
热议问题