Thursday, June 6, 2019

windows 7 - Cannot resolve %windir% on Win 7 64-bit

I'm having a problem with my laptop, it can't resolve the %windir% environment variable. I checked on the net and find that the PATH variable must be under 2024 characters length. Mine is 3145. Problem is, my laptop in a dev machine, with 4 different versions of Visual Studio and 3 of SQL Server and tons of programming tools that all adds their own path in the PATH variable. I can't shrink it or something won't work anymore. I must keep all versions of VS and MSSQL too.



Is there something I can do to work around this problem??




thanks a lot for your time and help



here is my PATH variable:



%SystemRoot%\system32;
%SystemRoot%;
%SystemRoot%\system32\wbem;
C:\Program Files (x86)\Rockwell Software\RSCommon;
C:\Program Files (x86)\Intel\iCLS Client;

C:\Program Files\Intel\iCLS Client;
%SYSTEMROOT%\System32\WindowsPowerShell\v1.0;
C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;
C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;
C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;
C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;
C:\Program Files (x86)\Intel\OpenCL SDK\3.0\bin\x86;
C:\Program Files (x86)\Intel\OpenCL SDK\3.0\bin\x64;
C:\Program Files\Lenovo\Fingerprint Manager Pro;
C:\Program Files (x86)\Common Files\Lenovo;

C:\Program Files\Intel\WiFi\bin;
C:\Program Files\Common Files\Intel\WirelessCommon;
C:\Program Files\Microsoft SQL Server\100\Tools\Binn;
C:\Program Files\Microsoft SQL Server\100\DTS\Binn;
C:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\VSShell\Common7\IDE;
C:\Program Files (x86)\Microsoft SQL Server\100\DTS\Binn;
C:\Program Files\Microsoft SQL Server\110\DTS\Binn;
C:\Program Files (x86)\Microsoft SQL Server\110\Tools\Binn;C:\Program Files\Microsoft SQL Server\110\Tools\Binn;
C:\Program Files (x86)\Microsoft SQL Server\110\Tools\Binn\ManagementStudio;
C:\Program Files (x86)\Microsoft SQL Server\110\DTS\Binn;

C:\Program Files (x86)\Common Files\Rockwell;
C:\Program Files (x86)\Microsoft SQL Server\80\Tools\Binn;
C:\Program Files\Microsoft SQL Server\90\DTS\Binn;C:\Program Files\Microsoft SQL Server\90\Tools\binn;
C:\Program Files (x86)\Microsoft SQL Server\90\Tools\binn;
C:\Program Files (x86)\Microsoft SQL Server\90\DTS\Binn;
C:\Program Files (x86)\Microsoft SQL Server\90\Tools\Binn\VSShell\Common7\IDE;
C:\Program Files (x86)\Microsoft Visual Studio 8\Common7\IDE\PrivateAssemblies;
C:\Program Files (x86)\GtkSharp\2.12\bin;
c:\Program Files\Microsoft SQL Server\90\Tools\binn\;
c:\Program Files (x86)\Microsoft SQL Server\90\Tools\binn\;

c:\Program Files\Microsoft SQL Server\90\DTS\Binn\;
c:\Program Files (x86)\Microsoft SQL Server\90\DTS\Binn\;
c:\Program Files (x86)\Microsoft SQL Server\90\Tools\Binn\VSShell\Common7\IDE\;
c:\Program Files (x86)\Microsoft Visual Studio 8\Common7\IDE\PrivateAssemblies\;
C:\Program Files (x86)\Common Files\lenovo\easyplussdk\bin;
C:\Program Files\JAI\SDK\bin;
C:\Program Files\JAI\SDK\bin\Win32_i86;
C:\Program Files\JAI\SDK\GenICam\bin\Win64_x64;
C:\Program Files\JAI\SDK\GenICam\bin\Win32_i86;
C:\Program Files (x86)\Microsoft SQL Server\110\DTS\Binn\;

C:\Program Files\Microsoft SQL Server\110\DTS\Binn\;
C:\Program Files\Lenovo\Fingerprint Manager Pro\;
C:\Program Files\Microsoft\Web Platform Installer\;
C:\Program Files (x86)\Microsoft ASP.NET\ASP.NET Web Pages\v1.0\;
C:\Program Files (x86)\Windows Kits\8.0\Windows Performance Toolkit\;
C:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\VSShell\Common7\IDE\;
C:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\;
C:\Program Files\Microsoft SQL Server\100\Tools\Binn\;
C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE\PrivateAssemblies\;
C:\Program Files (x86)\Microsoft SQL Server\100\DTS\Binn\;%HALCONROOT%\bin\%HALCONARCH%;%HALCONROOT%\FLEXlm\%HALCONARCH%



(newlines added by me)

No comments:

Post a Comment

hard drive - Leaving bad sectors in unformatted partition?

Laptop was acting really weird, and copy and seek times were really slow, so I decided to scan the hard drive surface. I have a couple hundr...