Does anybody know how to extract a file path from registry key?
For example:
I want to retrieve a path where BSPlayer is installed. I found the registry key:
[HKEY_CURRENT_USER\SOFTWARE\BST\bsplayer\AppPath]
and its value is:
C:\PROGRAM FILES\BSPLAYER\BPLAY.EXE
As you can see, a filename is already written in this key, but what I need is just the
path: C:\PROGRAM FILES\BSPLAYER.
Is it possible to extract this file path and to assign it to a variable?
For example:
I want to retrieve a path where BSPlayer is installed. I found the registry key:
[HKEY_CURRENT_USER\SOFTWARE\BST\bsplayer\AppPath]
and its value is:
C:\PROGRAM FILES\BSPLAYER\BPLAY.EXE
As you can see, a filename is already written in this key, but what I need is just the
path: C:\PROGRAM FILES\BSPLAYER.
Is it possible to extract this file path and to assign it to a variable?