title: 打开资源管理器并定位到指定文件
author: Love02xp
date: 2018-12-19 06:11:51
category: [编程代码]
tags: [VC6,编程]
draft: false
cover:
preview:
##### [阅读原文]()
CString csPath;
csPath.Format("explorer.exe %s,/n,/select", m_ctTree.GetSelPath());
// WinExec("explorer.exe c:\\windows\\system32\\calc.exe,/n,/select", SW_SHOWNORMAL);
WinExec(csPath, SW_SHOWNORMAL);
<!--more-->