|
本帖最后由 ut0 于 2023-10-29 16:00 编辑
就是变量里有systemroot,system32等设置,还是提示错误,所以觉得很奇怪,也找不到问题出在哪里
运行set path和set之后,显示的是这些
- C:\WINDOWS\system32>set path
- Path=%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;%SYSTEMROOT%\System32\OpenSSH\;C:\Program Files (x86)\Common Files\THSOFT Shared;C:\Users\DELL\AppData\Local\Microsoft\WindowsApps;C:\Program Files (x86)\Common Files\THSOFT Shared
- PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
- C:\WINDOWS\system32>set
- ADSK_CLM_WPAD_PROXY_CHECK=FALSE
- ALLUSERSPROFILE=C:\ProgramData
- APPDATA=C:\Users\DELL\AppData\Roaming
- CommonProgramFiles=C:\Program Files\Common Files
- CommonProgramFiles(x86)=C:\Program Files (x86)\Common Files
- CommonProgramW6432=C:\Program Files\Common Files
- COMPUTERNAME=DELL-PC2
- ComSpec=C:\WINDOWS\system32\cmd.exe
- DriverData=C:\Windows\System32\Drivers\DriverData
- HOMEDRIVE=C:
- HOMEPATH=\Users\DELL
- LOCALAPPDATA=C:\Users\DELL\AppData\Local
- LOGONSERVER=\\DELL-PC2
- NUMBER_OF_PROCESSORS=12
- OS=Windows_NT
- Path=%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;%SYSTEMROOT%\System32\OpenSSH\;C:\Program Files (x86)\Common Files\THSOFT Shared;C:\Users\DELL\AppData\Local\Microsoft\WindowsApps;C:\Program Files (x86)\Common Files\THSOFT Shared
- PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
- PROCESSOR_ARCHITECTURE=AMD64
- PROCESSOR_IDENTIFIER=AMD64 Family 25 Model 80 Stepping 0, AuthenticAMD
- PROCESSOR_LEVEL=25
- PROCESSOR_REVISION=5000
- ProgramData=C:\ProgramData
- ProgramFiles=C:\Program Files
- ProgramFiles(x86)=C:\Program Files (x86)
- ProgramW6432=C:\Program Files
- PROMPT=$P$G
- PSModulePath=C:\Program Files\WindowsPowerShell\Modules;C:\WINDOWS\system32\WindowsPowerShell\v1.0\Modules
- PUBLIC=C:\Users\Public
- SESSIONNAME=Console
- SystemDrive=C:
- SystemRoot=C:\WINDOWS
- TEMP=C:\Users\DELL\AppData\Local\Temp
- TMP=C:\Users\DELL\AppData\Local\Temp
- USERDOMAIN=DELL-PC2
- USERDOMAIN_ROAMINGPROFILE=DELL-PC2
- USERNAME=DELL
- USERPROFILE=C:\Users\DELL
- windir=C:\WINDOWS
复制代码
|
|