Open Folder in Windows Open Folder in Windows schwarem (Programmer) (OP) 28 Dec 07 11:32 I have a Windows Form application using C++ .Net. How do I open up a folder in Windows from my C++ code? I have a variable outputDirectory that contains a string of the path. RE: Open Folder in Windows schwarem (Programmer) (OP) 28 Dec 07 14:19 I tried the code below, but I am getting a compile error.CODEShellExecute (NULL, "explore" ,outputDirectory, NULL, NULL, SW_SHOWNORMAL);I get the error below:error C2664: 'ShellExecuteW' : cannot convert parameter 2 from 'const char ' to 'LPCWSTR' RE: Open Folder in Windows ArkM (IS/IT--Management) 29 Dec 07 01:05 You have UNICODE mode in your project. Try L"explore".