# Environmental Variables / Bypassing Path Restrictions

In some systems where minimal hardening has taken place, it may not be possible to browse directly to an obvious directory such as C:\Windows\System32. There are however various symbolic links that one can use to potentially bypass this restriction:

```
%ALLUSERSPROFILE% 
%APPDATA% 
%CommonProgramFiles% 
%COMMONPROGRAMFILES(x86)% 
%COMPUTERNAME% 
%COMSPEC% 
%HOMEDRIVE% 
%HOMEPATH% 
%LOCALAPPDATA% 
%LOGONSERVER% 
%PATH% 
%PATHEXT% 
%ProgramData% 
%ProgramFiles% 
%ProgramFiles(x86)% 
%PROMPT% 
%PSModulePath% 
%Public% 
%SYSTEMDRIVE% 
%SYSTEMROOT% 
%TEMP% 
%TMP% 
%USERDOMAIN% 
%USERNAME% 
%USERPROFILE% 
%WINDIR% 
shell:Administrative Tools 
shell:DocumentsLibrary 
shell:Librariesshell:UserProfiles 
shell:Personal 
shell:SearchHomeFolder 
shell:System shell:NetworkPlacesFolder 
shell:SendTo 
shell:UserProfiles 
shell:Common Administrative Tools 
shell:MyComputerFolder 
shell:InternetFolder 
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://infra.newerasec.com/infrastructure-testing/breakout/environmental-variables-bypassing-path-restrictions.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
