以编程方式提取并运行rar文件中存在的EXE文件 [英] Programatically extract and run EXE file existed in rar file

查看:73
本文介绍了以编程方式提取并运行rar文件中存在的EXE文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

Hi All,

I have a rar file and when I extract the file to a particular location it contains .exe file along with some other files(dll,txt..etc).My task is
when i upload rar file and click the button it should automatically extract the rar file on desktop with folder name and run the .exe file existed within
folder automatically.Can any one help me how can i do it

推荐答案




要提取RAR文件,请查看此处:

http://stackoverflow.com/questions/3238173/how-to-extract-a-rar-file-in-c [<一个href =http://stackoverflow.com/questions/3238173/how-to-extract-a-rar-file-in-ctarget =_ blanktitle =New Window> ^ ]

http://stackoverflow.com/questions / 11737 / net-library-to-unzip-zip-and-rar-files [ ^ ]

http://social.msdn.microsoft.com/Forums/en-US/netfxbcl/thread/cd5c9d31-bc82-4 5a4-bfb7-ae69bbc9aa72 / [ ^ ]

http ://forums.asp.net/t/1782567.aspx/1 [ ^ ]

http://stackoverflow.com/questions/1025863/read-content-of-rar-files-using-c-sharp [ ^ ]



要启动流程,请使用 Process.Start方法 [ ^ ]
Hi,

To extract the RAR file, have a look here:
http://stackoverflow.com/questions/3238173/how-to-extract-a-rar-file-in-c[^]
http://stackoverflow.com/questions/11737/net-library-to-unzip-zip-and-rar-files[^]
http://social.msdn.microsoft.com/Forums/en-US/netfxbcl/thread/cd5c9d31-bc82-45a4-bfb7-ae69bbc9aa72/[^]
http://forums.asp.net/t/1782567.aspx/1[^]
http://stackoverflow.com/questions/1025863/read-content-of-rar-files-using-c-sharp[^]

To start a process, use the Process.Start method[^]


提取,打开,查看由于winrar存档文件修复而导致的rar文件



项目[已删除垃圾邮件链接]可以帮助您通过各种方式提取文件。
Extract, open, view rar files owing to winrar archive files repair

Item [spam link removed] can help you to extract files by various ways.


这篇关于以编程方式提取并运行rar文件中存在的EXE文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆