Are there any other commands similar to the %temp% command in windows.
For example is there one for My documents or application data?
|
Are there any other commands similar to the %temp% command in windows. For example is there one for My documents or application data?
| |||
|
feedback
|
|
| |||
feedback
|
|
| |||
|
feedback
|
|
There are lists of environment variables too. | |||
|
feedback
|
|
Unfortunately there's no standard system-defined environment variable containing the path to the current user's However, since it is stored in the Windows registry, its value can be copied into an environment variable of you own making using the batch file commands I found shown below -- taken from this old web post by @eibgrad which places it into one named
I added an extra line at the end to print out the value found. | |||
|
feedback
|