Posted By

jimfred on 12/15/09


Tagged


Versions (?)

MFC, browse CWD


 / Published in: C++
 

  1. CString strDirectory;
  2. GetCurrentDirectory( _MAX_PATH, strDirectory.GetBufferSetLength( _MAX_PATH ) );
  3. strDirectory.ReleaseBuffer( );
  4.  
  5. ShellExecute(NULL, "open", strDirectory, NULL, NULL, SW_SHOWNORMAL);

Report this snippet  

You need to login to post a comment.