下面这个是批处理里面的代码。。 最后那个双引号 不要也可以正常运行
.\plugin\d_m\x64\devcon install .\plugin\d_m\x64\KB.inf "DrvInDKB"
其中 devcon是前面目录下的一个exe文件
这个用mfc应该怎么写 我试了两种方法 都不管事
WinExec(".\\plugin\\d_m\\x64\\devcon install .\\plugin\\d_m\\x64\\MU.inf DrvInDMU",SW_HIDE);
ShellExecute(NULL,L"open",L".\\plugin\\d_m\\x64\\devcon",L"install .\\plugin\\d_m\\x64\\KB.inf DrvInDKB",L"",SW_SHOW);
这两种写法 都不管用。。