Click here to Skip to main content
15,891,033 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi all,

how to opem folder to screen from folder path in C++(MFC VS 2010),

Example: I have folder path: D:\\Music\\YoungMusic
so I must use C++ code to open folder YoungMusic on screen(the same command window + E).


thanks in advance.
Posted
Comments
Sergey Alexandrovich Kryukov 15-Jun-12 0:43am    
I can guess, but I want to ask you: what do you mean by "open folder"? I'm not joking: there is no such thing per se, and it might imply different things.
--SA
CodingLover 15-Jun-12 1:46am    
I agreed. Sometimes without knowing the exact, or the most suitable word, it is quite difficult to find the exact answer looking for. Even to search on Google you had to have a better understanding about what you are looking for. :)

 
Share this answer
 
Maybe ShellExecute(Ex) is what you want;
 
Share this answer
 
Comments
ngthtra 27-Jun-12 3:13am    
Thank you very much!

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900