7-Zip是一款方便的小工具,让你能轻松处理各种最常见的压缩文件。这篇文章介绍了如何用它来创建一个自解压存档,以便在打开时把所有文件自动解压缩到目录中。
步骤
-
{"smallUrl":"https:\/\/www.zenmeban.com\/images_en\/thumb\/3\/37\/Use-7Zip-to-Create-Self-Extracting-excutables-Step-1-Version-3.jpg\/v4-460px-Use-7Zip-to-Create-Self-Extracting-excutables-Step-1-Version-3.jpg","bigUrl":"https:\/\/www.zenmeban.com\/images\/thumb\/3\/37\/Use-7Zip-to-Create-Self-Extracting-excutables-Step-1-Version-3.jpg\/v4-728px-Use-7Zip-to-Create-Self-Extracting-excutables-Step-1-Version-3.jpg","smallWidth":460,"smallHeight":345,"bigWidth":728,"bigHeight":546,"licensing":"<div class=\"mw-parser-output\"><\/div>"}
1
打开7Zip文件管理器(7zFM.exe)。
-
{"smallUrl":"https:\/\/www.zenmeban.com\/images_en\/thumb\/d\/d5\/Use-7Zip-to-Create-Self-Extracting-excutables-Step-2-Version-3.jpg\/v4-460px-Use-7Zip-to-Create-Self-Extracting-excutables-Step-2-Version-3.jpg","bigUrl":"https:\/\/www.zenmeban.com\/images\/thumb\/d\/d5\/Use-7Zip-to-Create-Self-Extracting-excutables-Step-2-Version-3.jpg\/v4-728px-Use-7Zip-to-Create-Self-Extracting-excutables-Step-2-Version-3.jpg","smallWidth":460,"smallHeight":345,"bigWidth":728,"bigHeight":546,"licensing":"<div class=\"mw-parser-output\"><\/div>"}
2
查找任何想要的文件,然后点击较大的绿色“添加”按钮。
-
{"smallUrl":"https:\/\/www.zenmeban.com\/images_en\/thumb\/4\/4d\/Use-7Zip-to-Create-Self-Extracting-excutables-Step-3-Version-3.jpg\/v4-460px-Use-7Zip-to-Create-Self-Extracting-excutables-Step-3-Version-3.jpg","bigUrl":"https:\/\/www.zenmeban.com\/images\/thumb\/4\/4d\/Use-7Zip-to-Create-Self-Extracting-excutables-Step-3-Version-3.jpg\/v4-728px-Use-7Zip-to-Create-Self-Extracting-excutables-Step-3-Version-3.jpg","smallWidth":460,"smallHeight":345,"bigWidth":728,"bigHeight":546,"licensing":"<div class=\"mw-parser-output\"><\/div>"}
3
从“压缩格式”下拉菜单中选择.7z,然后勾选“创建自释放程序”框,它会在生成.7z文件后创建自解压可执行文件。
-
{"smallUrl":"https:\/\/www.zenmeban.com\/images_en\/thumb\/2\/26\/Use-7Zip-to-Create-Self-Extracting-excutables-Step-4-Version-3.jpg\/v4-460px-Use-7Zip-to-Create-Self-Extracting-excutables-Step-4-Version-3.jpg","bigUrl":"https:\/\/www.zenmeban.com\/images\/thumb\/2\/26\/Use-7Zip-to-Create-Self-Extracting-excutables-Step-4-Version-3.jpg\/v4-728px-Use-7Zip-to-Create-Self-Extracting-excutables-Step-4-Version-3.jpg","smallWidth":460,"smallHeight":345,"bigWidth":728,"bigHeight":546,"licensing":"<div class=\"mw-parser-output\"><\/div>"}
4
设置任何其他你需要的选项。
-
{"smallUrl":"https:\/\/www.zenmeban.com\/images_en\/thumb\/3\/38\/Use-7Zip-to-Create-Self-Extracting-excutables-Step-5-Version-3.jpg\/v4-460px-Use-7Zip-to-Create-Self-Extracting-excutables-Step-5-Version-3.jpg","bigUrl":"https:\/\/www.zenmeban.com\/images\/thumb\/3\/38\/Use-7Zip-to-Create-Self-Extracting-excutables-Step-5-Version-3.jpg\/v4-728px-Use-7Zip-to-Create-Self-Extracting-excutables-Step-5-Version-3.jpg","smallWidth":460,"smallHeight":345,"bigWidth":728,"bigHeight":546,"licensing":"<div class=\"mw-parser-output\"><\/div>"}
5点击“确定”,搞定了!
警告
- 要是不确定.exe文件的来源,那就不要打开它。但如果是你按本文介绍的方法创建的.exe文件,那就没关系,因为你知道里面都有些什么内容。
- 安装防病毒软件来保护你的电脑不受恶意软件的侵害,而在把文件放入压缩包之前,最好先扫描一下。
你需要准备