First of all, here I'm just repeating old stuff:
%systemdrive%: the disk partition where the system is installed
%homedrive%: the partition where the current user's system is located
When we see these two variables, in most cases, the values of these two variables are the same
Their values are usually c:
So, some people don't understand. Since these two values are the same, why are there two variables?
Then, we should explain from the names of these two variables.
systemdrive, from the name, is the drive letter of the partition where Windows is installed when Windows is installed..
homedrive is the directory where the configuration files of the currently logged-in user are stored:
Usually our user configuration files are as follows. Suppose the user name is user and Windows is installed on drive C:
c:\Documents and Settings\User
Hehe, but if we change the user's configuration files to another place and put them on drive D, then our user configuration files become: d:\Documents and Settings\User
At this time, the value of our homedrive becomes d:
Well, my discussion is here. Welcome everyone to correct my mistakes:
%systemdrive%: the disk partition where the system is installed
%homedrive%: the partition where the current user's system is located
When we see these two variables, in most cases, the values of these two variables are the same
Their values are usually c:
So, some people don't understand. Since these two values are the same, why are there two variables?
Then, we should explain from the names of these two variables.
systemdrive, from the name, is the drive letter of the partition where Windows is installed when Windows is installed..
homedrive is the directory where the configuration files of the currently logged-in user are stored:
Usually our user configuration files are as follows. Suppose the user name is user and Windows is installed on drive C:
c:\Documents and Settings\User
Hehe, but if we change the user's configuration files to another place and put them on drive D, then our user configuration files become: d:\Documents and Settings\User
At this time, the value of our homedrive becomes d:
Well, my discussion is here. Welcome everyone to correct my mistakes:
知,不觉多。不知,乃求知



