2007年5月9日星期三

帮助文件定位

ShellExecute(hWnd,"open","iexplorer.exe",CString("file://")+filename + CString("#a1"), NULL,SW_SHOWNORMAL);
从注册表中可以获得IE所在路径

1 条评论:

Unknown 说...

%systemroot%explorer.exe /select,D:\dir\c.txt

这样我们就可以定位到文件D:\dir\c.txt