嗨大家好,我试图让VB用以下命令行运行regedit.exe函数 regedit.exe /EC:\VB.txt&\"KEYEY_LOCAL_MACHINE \\ \\软件\ Aberlink 3D" 有人有什么想法吗?我遇到的问题是让VB 2005导出一个完整的子密钥,而不是一次只导出一个值。我是否使用regedit沿着正确的路线行驶,或者中是否有一个功能可以为我做这个? 提前谢谢 Ben
解决方案检查Process类。 它需要一个文件名和参数 还有一个Registry类用于编辑注册表设置虽然
干杯Plater,但我一直在使用进程类,它不喜欢和参数在.exe之后也是使用注册表类但没有导出部分注册表的功能:(
干杯普拉特,但我一直在使用进程类,它不喜欢和参数后.exe我也玩注册表类,但没有一个功能来导出注册表的一部分:(
你的代码对于参数等是什么样的?
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 that will do this for me? Thanks in advance Ben
解决方案 Check the Process class. It will take a filename and arguments There is also a Registry class for editing the Registry settings thoughCheers Plater, but ive been using the process class and it doesn''t like and parameters after the .exe ive also played with the registry class but there isnt a function to export a part of the registry :( Cheers Plater, but ive been using the process class and it doesn''t like and parameters after the .exe ive also played with the registry class but there isnt a function to export a part of the registry :(What does your code look like for the arguments and the like?
更多推荐
在VB 2005中使用命令行参数运行EXE
发布评论