Update usmt-recognized-environment-variables.md #11937
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
The following paths:
C:\Program Files(86)
C:\Program Files(86)\Common
are referenced in explanations for the "CSIDL_PROGRAM_FILESX86" and "CSIDL_PROGRAM_FILES_COMMONX86" environmental variables.
I'm assuming this is an error, since these paths don't exist on a clean install of Windows 11, and placing Program Files(86) between two percent symbols:
cd %Program Files(86)%
returnsThe system cannot find the path specified.
.Additionally, the explanations for the "PROGRAMFILES(X86)" and "COMMONPROGRAMFILES(X86)" environmental variables reference the correct paths:
C:\Program Files (x86)
C:\Program Files (x86)\Common Files
If this is intentional, I think the page would benefit from having an explanatory footnote or something similar since a cursory Google search doesn't return anything helpful.
Why
I believe that there's an error in the documentation.
Changes
Changed the explanations of "CSIDL_PROGRAM_FILESX86" and "CSIDL_PROGRAM_FILES_COMMONX86" to
C:\Program Files (x86)
andC:\Program Files (x86)\Common Files
, respectively.