本文介绍了在VB 2005中使用命令行参数运行EXE的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨大家好,我试图让VB用以下命令行运行regedit.exe函数


regedit.exe /EC:\VB.txt&\"KEYEY_LOCAL_MACHINE \\ \\软件\ Aberlink 3D"


有人有什么想法吗?我遇到的问题是让VB 2005导出一个完整的子密钥,而不是一次只导出一个值。我是否使用regedit沿着正确的路线行驶,或者.net中是否有一个功能可以为我做这个?


提前谢谢


Ben

解决方案





你的代码对于参数等是什么样的?

Hi Guys, im trying to get VB to run the regedit.exe function with the following command line

regedit.exe /E C:\VB.txt "HKEY_LOCAL_MACHINE\Software\Aberlink 3D"

Anybody have any ideas? The problem i have is getting VB 2005 to export an entire subkey rather than just one value at a time. Am i going down the right route with using regedit or is there a function within .net that will do this for me?

Thanks in advance

Ben

解决方案



What does your code look like for the arguments and the like?


这篇关于在VB 2005中使用命令行参数运行EXE的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-28 05:45