ホーム » MFC » ファイルを選択した状態で explorer.exe

ファイルを選択した状態で explorer.exe

explorer.exe /select,c:~exmple.txt
http://support.microsoft.com/kb/314853/ja
https://www.betaarchive.com/wiki/index.php?title=Microsoft_KB_Archive/314853
void CXxxxDoc::OnExecExplorer() 
{
 CString docName = GetPathName() ;
 ShellExec se ;
 se.SetNon2QMark(TRUE) ;
 se.SetFile(_T("explorer.exe")) ;
 se.SetParamaters(_T("/e,/select,")+docName) ;
 se.Execute() ;
 }


ShellExc.hxx , ShellExc.cxx


S_Exec.hxx

この投稿は役に立ちましたか ? 0 人中 0 人がこの 投稿 は役に立ったと言っています。

コメントする

メールアドレスが公開されることはありません。 * が付いている欄は必須項目です

© 2009-2026 mish.work All Rights Reserved.

Powered by WordPress / Academica WordPress Theme by WPZOOM