1 2 3 4 5 6 |
ShellExecute(hwnd, NULL, _T("explorer.exe"), CString(_T("/select,\"")) + path + _T("\",/n"), NULL, SW_SHOW); |
1 2 3 |
string path = @"C:\T\111.txt"; string arg = "/select,\"" + path + "\",/n"; System.Diagnostics.Process.Start("explorer.exe", arg); |