/ Published in: C++
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
CString strDirectory; GetCurrentDirectory( _MAX_PATH, strDirectory.GetBufferSetLength( _MAX_PATH ) ); strDirectory.ReleaseBuffer( ); ShellExecute(NULL, "open", strDirectory, NULL, NULL, SW_SHOWNORMAL);