使用 ShellExecuteEx 显示文件属性

ShellExecuteEX MSDN


  SHELLEXECUTEINFO sei;
  ZeroMemory(&sei,sizeof(sei));
  sei.cbSize = sizeof(sei);
  sei.lpFile = _T("C:\\"); //or path
  sei.lpVerb = "properties";
  sei.fMask  = SEE_MASK_INVOKEIDLIST;
  ShellExecuteEx(&sei);



你可能感兴趣的:(系统/线程/调试)