#include <shellapi.h> ShellExecute(NULL, NULL, L"program.exe", L"explore /select, \"c:/file/path/program.exe\" ", NULL, SW_SHOWNORMAL);