admin管理员组

文章数量:1631223

%SYSTEMROOT% == c:\windows (or the root windows directory)

%SYSTEMDRIVE% == the drive windows is installed to (eg, C:\)

 

 

 

How can I get the system drive letter?

There's an environment variable called SystemDrive which is set

本文标签: 环境变量WindowsSystemRootSystemDrive