U can use GetSystemDirectory() API refer to http://www.astercity.net/~azakrze3/html/win32_api_functios.html#GetSystemDirectory[^]
G
gpsushil
@gpsushil
Posts
-
How to get Drive name of current OS installed -
know program installed in computer offlineI got a hardisk from which i need to know which are the programmes installed there. OS is corrupt there. Any suggestions how can i find this. I got the registry file which is located in windows\system32\config but have no idea how to parse it.