C - 如何打开窗口浏览器 [英] C - How can open window explorer
本文介绍了C - 如何打开窗口浏览器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在寻找用C语言打开窗口浏览器中的函数。我发现这个[答案] (如何打开Windows资源管理器到WPF应用程序内的某个目录?),但这是C#语言。 C不能具有这些功能?我使用VS 2010。
I'm looking for function that Open window explorer in C language. I have found this [answer](How can I open Windows Explorer to a certain directory from within a WPF app?), but this is C# language. C can't have these features? I use VS 2010.
我是C的初学者。所以我的问题可能看起来很容易。但如果你给我的答案,我真的很感激。感谢:)
I'm a beginner of C. So my question may seem ridiculously easy. But if you give me the answer I really appreciate it. Thanks :)
推荐答案
在浏览器中打开某个目录的最简单的方法是这里c:\program files :
The simplest way to open a certain directory in an explorer (here c:\program files) may be:
system("start \"\" \"c:\\program files\"");
这篇关于C - 如何打开窗口浏览器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文