On Wed, 26 Sep 2007 09:55:40 -0700,
wrote:
>%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\S ystem32\Wbem;C:
>\Program Files\Microsoft Visual Studio 8\Common7\IDE;C:\Program Files
>\Microsoft Visual Studio 8\VC\BIN;C:\Program Files\Microsoft Visual
>Studio 8\Common7\Tools;C:\Program Files\Microsoft Visual Studio
>8\Common7\Tools\bin;C:\Program Files\Microsoft Visual Studio 8\VC
>\PlatformSDK\bin;C:\Program Files\Microsoft Visual Studio 8\SDK
>\v2.0\bin;C:\Windows\Microsoft.NET\Framework\v2.0 .50727;C:\Program
>Files\Microsoft Visual Studio 8\VC\VCPackages;C:\Program Files\Common
>Files\Roxio Shared\DLLShared\;C:\Program Files\Common Files\Roxio
>Shared\9.0\DLLShared\;c:\Program Files\Microsoft SQL Server\90\Tools
>\binn\;C:\Program Files\Microsoft SQL Server\80\Tools\Binn\;C:\Program
>Files\Microsoft SQL Server\90\DTS\Binn\;C:\Program Files\Microsoft SQL
>Server\90\Tools\Binn\VSShell\Common7\IDE\;C:\Prog ram Files\Microsoft
>Visual Studio 8\Common7\IDE\PrivateAssemblies\;C:\Program Files\AccuRev
>\bin;C:\Program Files\Macrovision\IS12\System;C:\bin;C:\Program Files
>\Macrovision\IS*X* 12 StandaloneBuild;C:\Program Files\QuickTime
>\QTSystem\
Make a backup of the above and stick it somewhere safe. Then
replace C:\Program Files\Microsoft Visual Studio 8\VC\VCPackages;
with
C:\Program Files\Micros~2;
or
C:\Program Files\Microsoft Visual Studio 8\
then delete
C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\bin;
C:\Program Files\Microsoft Visual Studio 8\VC\BIN;
C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0\bin;
C:\Program Files\Microsoft Visual Studio 8\Common7\Tools\bin;
C:\Program Files\Microsoft Visual Studio 8\Common7\Tools;
C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\Private Assemblies\;
C:\Program Files\Microsoft Visual Studio 8\Common7\IDE;
replace
C:\Program Files\Microsoft SQL Server\90\Tools\Binn\VSShell\Common7\IDE\;
with
C:\Program Files\Microsoft SQL Server
or
C:\Program Files\Micros~1
then delete
C:\Program Files\Microsoft SQL Server\90\DTS\Binn\;
C:\Program Files\Microsoft SQL Server\80\Tools\Binn\;
replace
C:\Program Files\Common Files\Roxio Shared\DLLShared\;
with
C:\Program Files\Common Files\
or
C:\Program Files\Common~1
then delete
C:\Program Files\Common Files\Roxio Shared\DLLShared\;
C:\Program Files\Common Files\Roxio Shared\9.0\DLLShared\;
replace
C:\Program Files\Macrovision\IS*X* 12 StandaloneBuild;
with
C:\Program Files\Macrovision\
or
C:\Program Files\Macrov~1
Just my opinion, but path is more or less just an aid to search. ie: whena
program is given the file name to find without a direct path it looks in path
1st. Then goes off on it's own searching the drive if it can't find what it's
looking for in the path.
looking in the root vs an exact folder should work just fine with possibly some
slow down when loading things.
ie: %system root%/system32; should work for everything under it such as the
hosts file in drivers/etc.. And it does.
If things start failing just tweak the above. If Path were absolutely
necessary, there's no way 1024 bytes would be enough. It just helps find things
faster. All those EXACT folders shouldn't be necessary unless they're filled
with hundreds of files, and folders.
You'll see I used C:\Program Files\Micros~2; twice
C:\Program Files\Micros~2;
and
C:\Program Files\Micros~1;
If you have many
microsoft folders in your C:\Program Files\ folder, you'll have to get a sorted
directory list 1st. IE: Mine
This is how DOS actually see's my microsoft folders truncated to 8.3
>my 8.3 : Volume in drive C is HP
>my 8.3 : Volume Serial Number is 04CD-62F8
>my 8.3 :
>my 8.3 : Directory of C:\Program Files
>my 8.3 :
>my 8.3 : 06/23/2007 08:53 PM <DIR> MI3AA1~1 Microsoft ActiveSync
>my 8.3 : 05/08/2007 05:40 PM <DIR> MICROS~1.2 Microsoft CAPICOM 2.1.0.2
>my 8.3 : 07/06/2007 02:07 PM <DIR> MIF408~1 Microsoft Encarta
>my 8.3 : 11/02/2006 08:37 AM <DIR> MICROS~1 Microsoft Games
>my 8.3 : 06/22/2007 03:49 AM <DIR> MI0A1E~1 Microsoft Location Finder
>my 8.3 : 06/24/2007 04:10 PM <DIR> MICROS~3 Microsoft Office
>my 8.3 : 09/21/2007 06:55 PM <DIR> MI2578~1 Microsoft SDKs
>my 8.3 : 09/22/2007 01:52 PM <DIR> MI2020~1 Microsoft Silverlight
>my 8.3 : 09/21/2007 08:30 PM <DIR> MI6841~1 Microsoft SQL Server
>my 8.3 : 09/22/2007 10:28 AM <DIR> MI29AE~1 Microsoft SQL Server Compact Edition
>my 8.3 : 06/22/2007 03:50 AM <DIR> MIFAE3~1 Microsoft Streets & Trips
>my 8.3 : 09/22/2007 10:28 AM <DIR> MI364D~1 Microsoft Synchronization Services
>my 8.3 : 09/15/2007 03:19 PM <DIR> MICROS~4 Microsoft Visual Studio
>my 8.3 : 09/23/2007 05:26 PM <DIR> MID05A~1 Microsoft Visual Studio 8
>my 8.3 : 09/22/2007 10:43 AM <DIR> MICROS~1.0 Microsoft Visual Studio 9.0
>my 8.3 : 09/22/2007 10:36 AM <DIR> MI15E2~1 Microsoft Web Designer Tools
>my 8.3 : 06/24/2007 04:11 PM <DIR> MICROS~2 Microsoft Works
>my 8.3 : 09/21/2007 08:27 PM <DIR> MICROS~1.NET Microsoft.NET
>my 8.3 : 1 File(s) 0 bytes
>my 8.3 : 18 Dir(s) 166,032,846,848 bytes free
I was going to suggest you get an 8.3 list from your system. But those numbers
can change if a folder is renamed, removed, added etc..
ie:
C:\Program Files\Micros~9 could be either
C:\Program Files\Micros~8 or C:\Program Files\Micro~10 if I changed the number
of microsoft folders in the C:\Program Files\ folder.
You can probably use the 8.3 names. Long as you remember to change your path if
you do something with a microsoft named folder.
--
more pix @
http://members.toast.net/cbminfo/index.html