Process.Start(@"D:/Root/***/***/bin/Debug/***.bat");
Process.Start("cmd.exe","/c regsvr32 "+path)
***.bat内容:
regsvr32 /s/u %windir%/system32/***.dll
del ***.dll %windir%/system32/***.dll
copy jmail.dll %windir%/system32
regsvr32 /s %windir%/system32/***.dll
原址:http://www.cnblogs.com/houhou/archive/2006/12/22/600138.html
本文介绍了一种通过批处理文件和命令行来实现DLL文件的注册与解除注册的方法,并涉及了文件的删除与复制操作。
1339

被折叠的 条评论
为什么被折叠?



