从程序文件访问curl可执行文件?
我构建了一个通过 WScript com 对象使用用户可执行文件的应用程序。 现在主程序位于C:\Program files\Myapp Curl 可执行文件位于 C:\Curl 但如果主应用程序位于程序文件中,我的应用程序似乎无法执行curl。 如果我将它移动到另一个位置,它可以很好地执行curl。 问题仅出现在 Windows XP、Vista 和 Win7 上,它可以完美运行。 我必须授予我的应用程序任何特殊权限吗?
I have built an application which uses user executable through WScript com object.
Now the main program is located in C:\Program files\Myapp
Curl executable is located in C:\Curl
But it looks like my application is unable to execute curl if main application is in Program files.
If i move it to another location it can execute curl nicely.
Problem occurs only on Windows Xp on Vista and Win7 it works perfectly.
Is there any special permissions i have to give to my app or what?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
哦终于解决了。
实际上一切都很好,只是错过了在 Xp 上路径之间有空格,只需要在我的命令中添加双引号即可完成。
Oh got it finally sorted out.
Actually everything was fine just missed that on Xp there is spaces between in path's just needed to add double quotes to my command and done.