显示文件或文件夹的属性
2009-09-19 09:58
246 查看
SHELLEXECUTEINFO ShExecInfo ={0};
ShExecInfo.cbSize = sizeof(SHELLEXECUTEINFO);
ShExecInfo.fMask = SEE_MASK_INVOKEIDLIST ;
ShExecInfo.hwnd = NULL;
ShExecInfo.lpVerb = "properties";
ShExecInfo.lpFile = "c://"; //can be a file as well
ShExecInfo.lpParameters = "";
ShExecInfo.lpDirectory = NULL;
ShExecInfo.nShow = SW_SHOW;
ShExecInfo.hInstApp = NULL;
ShellExecuteEx(&ShExecInfo);
ShExecInfo.cbSize = sizeof(SHELLEXECUTEINFO);
ShExecInfo.fMask = SEE_MASK_INVOKEIDLIST ;
ShExecInfo.hwnd = NULL;
ShExecInfo.lpVerb = "properties";
ShExecInfo.lpFile = "c://"; //can be a file as well
ShExecInfo.lpParameters = "";
ShExecInfo.lpDirectory = NULL;
ShExecInfo.nShow = SW_SHOW;
ShExecInfo.hInstApp = NULL;
ShellExecuteEx(&ShExecInfo);
相关文章推荐
- VC MFC 显示文件或文件夹的属性
- 双击文件夹为何显示文件属性
- 如何让 Finder 显示隐藏文件和文件夹
- centos下vsftpd不能显示文件,不能创建文件及文件夹
- 修复TortoiseGit文件夹和文件图标不显示
- MAC 显示隐藏文件/文件夹
- 递归显示指定文件夹下面的文件
- Mac下如何显示隐藏文件/文件夹_百度经验
- 列出文件夹下文件列表,显示,删除
- 自定义windows下自动清除文件夹或者文件的只读属性的脚本
- C# 去除文件和文件夹的只读属性
- 网站的图片有时不显示,因为网站文件未放到根目录下,而套了一个文件夹放到目录下
- Java创建文件和文件夹、文件属性的读取、文件属性的设置
- C# 去除文件和文件夹的只读属性
- TortoiseSVN文件夹及文件图标不显示解决方法
- U盘中毒,文件打不开,文件夹同名病毒vs文件夹隐藏属性修改
- TortoiseSVN文件夹及文件图标不显示解决方法
- [导入]Asp.Net 文件操作基类(读取,删除,批量拷贝,删除,写入,获取文件夹大小,文件属性,遍历目录)(二)
- 无法显示隐藏文件和文件夹
- 在SD卡指定文件夹下搜索ogg文件,列表显示,点击播放