在 UAC 保护区中创建文件夹
我有一个应用程序需要能够半自动地在受 UAC 保护的目录中创建文件夹(用户将在那里批准 UAC 通知,但我不想要求他们自己去做)。该程序不需要提升;是否有一个常见的调用可用于利用资源管理器的内置提升提示来实现此目的,或者我必须实现自己的提升帮助器组件来执行此操作?
I have an application which needs to be able to create folders in UAC-protected directories semi-automatically (the user will be there to approve the UAC notice, but I don't want to ask them to go do it themselves). The program does not otherwise need elevation; is there a common call that can be used to leverage Explorer's built in elevation prompts for this, or must I implement my own elevated helper component to do this?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
这通常是通过使用“runas”动词创建单独的进程来完成的:
此进程可以执行任何需要的操作海拔。
This is usually done by creating a separate process with the "runas" verb:
This process can perform any operations which require elevation.