Get the App
SLTechnology News&Howtos  ›  Servers  › 

The Chinese meaning of common Windows system variables

Shulou Source: shulou.com Published: 2022-06-01 00:03:06 09月22日 Update

This article is about the Chinese meanings of common Windows system variables. Xiaobian thinks it is quite practical, so share it with everyone for reference. Let's follow Xiaobian and have a look.

problem description

In daily Windows operation and maintenance management, we often need to write some scripts, so we need to know some common system variables.

Common system variable correspondence table

%WINDIR% = System Directory C:\WINDOWS

%SYSTEMROOT% = System Directory C:\WINDOWS}

%SYSTEMDRIVE% = System root C:

%HOMEDRIVE% = Current user root C:

%USERPROFILE% = current user directory

%HOMEPATH% = Current user path

%TMP% = Current User Temporary Folder

%TEMP% = Current User Temporary Folder- C:\DOCUME~1\wy\LOCALS~1\Temp

%APPDATA% = Current User Data Folder

%PROGRAMFILES% = Program default installation directory C:\Program Files

%COMMONPROGRAMFILES% = File Common Directory C:\Program Files\Common Files

%USERNAME% = Current User Name C:\Users\%USERNAME%\OneDrive = C:\Users\Landr Zhang\OneDrive

Thank you for reading! About "common Windows system variables corresponding to the Chinese meaning" this article is shared here, I hope the above content can be of some help to everyone, so that we can learn more knowledge, if you think the article is good, you can share it to let more people see it!

Tags: System user directory variable common file folder meaning Chinese content more root directory article good practical data article user name look knowledge Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Shulou Tech Info Redmi Shulou Information Shulou Technology macOS