Reading values from Windows registry
Posted: 01 Sep 2011 07:35
Hi,
I want to read a Environment Variables values from registry.
Example, a path to desktop in English Windows is:
%USERPROFILE%\Desktop
but in French windows it is:
%USERPROFILE%\Bureau
That is why I need to use the path in the batch command.
%USERPROFILE%\"what i read from registry value"
The key that keep those values is:
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders]
Please help on this example.
I want to read a Environment Variables values from registry.
Example, a path to desktop in English Windows is:
%USERPROFILE%\Desktop
but in French windows it is:
%USERPROFILE%\Bureau
That is why I need to use the path in the batch command.
%USERPROFILE%\"what i read from registry value"
The key that keep those values is:
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders]
Please help on this example.