ホーム » 2012 » 2月 » 07

日別アーカイブ: 2012/02/07

2012年2月
 1234
567891011
12131415161718
19202122232425
26272829  

カテゴリー

アーカイブ

ブログ統計情報

  • 80,087 アクセス



explorer /e,/select

Explorer.exe コマンドライン オプション
  void CDropADlg::OnExecExplorer()
  {
    UpdateData(TRUE) ;
    CString file = m_SelectFile ;
    ShellExec se ;
    if (::FileIsDirectory(file)) {
      se.SetFile(file) ;
      }
    else {
      se.SetNon2QMark(TRUE) ;
      se.SetFile(_T(“explorer.exe”)) ;
      se.SetParamaters(_T(“/e,/select,”)+file) ;
      }
    se.Execute() ;
    }

Is this 投稿 useful? Useful Useless 0 of 0 people say this 投稿 is useful.