How to get Windows Installed Drive?
C / C++ / MFC
3
Posts
3
Posters
0
Views
1
Watching
-
Hi Everybody, I'd like to know how to get the windows installed drive? If I installed Windows in C: drive, the result should be "C:". Is there any API available to get this? Thanks in advance, Sarvan AL
*** Live Lift To Its Fullest ***
Use
GetWindowsDirectory() char cBuf[255]; GetWindowsDirectory(cBuf,255); MessageBox(cBuf);
This will give you the path to windows directory however.Nobody can give you wiser advice than yourself. - Cicero
-
Use
GetWindowsDirectory() char cBuf[255]; GetWindowsDirectory(cBuf,255); MessageBox(cBuf);
This will give you the path to windows directory however.Nobody can give you wiser advice than yourself. - Cicero