编写.exe来交换程序文件目录中的文件 [英] Write .exe to swap a file in the program files directory
本文介绍了编写.exe来交换程序文件目录中的文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
您好,
我不是程序员,所以这可能听起来很荒谬。我正在尝试编写一个.exe,它只是交换程序文件目录中的一个.dll文件。对于已经安装了某个软件且只需更新.dll的用户,这可以作为一个简单的补丁。可以使用iexpress完成吗?预先感谢您的帮助!
Matt
Hello,
I''m not a programmer, so this may sound ridiculous. I''m trying to write an .exe that simply swaps out one of the .dll files in the program files directory. This would serve as a simple patch for users that already have a certain piece of software installed and just need the .dll updated. Can this be completed using iexpress? Thanks in advance for any help!
Matt
推荐答案
这可以通过以下方式完成批处理文件。
1.打开记事本
2.写:''copy< full path =of =new =dll => < full path =of =old =dll =>
例如:copy c:\program files\mysoftware \ mynewdll.dll c:\\ \\ program Files \ mysoftware \ myolddll.dll
3.另存为''replacell.bat''
然后当你加倍点击''replacementll.bat''它将完成工作
This is something that can be done via a Batch file.
1. Open Notepad
2. Write: ''copy <full path="" of="" new="" dll=""> <full path="" of="" old="" dll="">
for example: copy c:\program files\mysoftware\mynewdll.dll c:\program files\mysoftware\myolddll.dll
3. Save as ''replacedll.bat''
Then when you double click ''replacedll.bat'' it will do the work
这篇关于编写.exe来交换程序文件目录中的文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文