View Single Post
  #3  
Old September 16th 20, 06:58 PM posted to alt.comp.os.windows-10,alt.comp.microsoft.windows
Arlen Holder
external usenet poster
 
Posts: 186
Default Is there a system environment variable to the System32 directory?

On Wed, 16 Sep 2020 12:53:21 -0400, Big Al wrote:

Type SET on the command prompt and you will get a list of all variables and where they point to.
If I were to venture a guess off the top of my head %SYSTEM32%


There are default variables, such as %comspec%, which aren't in that list.
o That's the problem.

Here's that "set" list though, on Win10 current:
c:\ set
Which returns:
o ALLUSERSPROFILE=C:\ProgramData
o APPDATA=C:\Users\%username%\AppData\Roaming
o CommonProgramFiles=C:\Program Files\Common Files
o CommonProgramFiles(x86)=C:\Program Files (x86)\Common Files
o CommonProgramW6432=C:\Program Files\Common Files
o COMPUTERNAME=foo
o ComSpec=C:\Windows\system32\cmd.exe
o DriverData=C:\Windows\System32\Drivers\DriverData
o FPS_BROWSER_APP_PROFILE_STRING=Internet Explorer
o FPS_BROWSER_USER_PROFILE_STRING=Default
o HOMEDRIVE=C:
o HOMEPATH=\Users\%username%
o LOCALAPPDATA=C:\Users\%username%\AppData\Local
o LOGONSERVER=\\%computername%
o NUMBER_OF_PROCESSORS=4
o OneDrive=C:\Users\%username%\OneDrive
o OS=Windows_NT
o Path=C:\Windows\system32;C:\Windows;C:\Windows\Sys tem32\Wbem;C:\Windows\System32\WindowsPowerShell\v 1.0\;C:\Windows\System32\OpenSSH\;C:\app\os\adk\Wi ndows Performance Toolkit\;C:\Users\%username%\AppData\Local\Microso ft\WindowsApps;
o PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WS F;.WSH;.MSC
o PROCESSOR_ARCHITECTURE=AMD64
o PROCESSOR_IDENTIFIER=AMD64 Family 16 Model 4 Stepping 2, AuthenticAMD
o PROCESSOR_LEVEL=16
o PROCESSOR_REVISION=0402
o o ProgramData=C:\ProgramData
o ProgramFiles=C:\Program Files
o ProgramFiles(x86)=C:\Program Files (x86)
o ProgramW6432=C:\Program Files
o PROMPT=$P$G
o PSModulePath=C:\Program o
Files\WindowsPowerShell\Modules;C:\Windows\system3 2\WindowsPowerShell\v1.0\Modules
o PUBLIC=C:\Users\Public
o SESSIONNAME=Console
o SystemDrive=C:
o SystemRoot=C:\Windows
o TEMP=C:\Users\%username%\AppData\Local\Temp
o TMP=C:\Users\%username%\AppData\Local\Temp
o USERDOMAIN=%computername%
o USERDOMAIN_ROAMINGPROFILE=%computername%
o USERNAME=%username%
o USERPROFILE=C:\Users\%username%
o windir=C:\Windows

There are default variables, such as %comspec%, which aren't in that list.
Ads