How To Get System Folder Path(C:\Windows C:\Program Files) in Windows using C++?
- by sxingfeng
I am programming in c++ MFC,
I want to get "C:\windows" "c:\program files" folder path.
Sometimes user may setup windows in other folder such as c:\windows0.
Is there any API to get absolute path of the windows and program files path?
Many thanks!