脚本技术:使用代码绑定/嵌入文件? [英] Scripting techniques : binding / embedding files using codes?

查看:133
本文介绍了脚本技术:使用代码绑定/嵌入文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

好的,所以我们都知道有一些很棒的工具可让您将一堆文件绑定到任何可执行文件,无论它们具有什么扩展名,例如: EasyBinder v 2.0或其他一些允许的文件我们将文件嵌入到另一个文件中,并在文件运行时将它们提取到特定位置(提取文件而不运行它们),就像高级蝙蝠到exe转换器中的文件一样. ,但是当尝试制作脚本时,我很难找到一种根据用户输入来绑定或嵌入随机文件的方法,我知道这是一些高级脚本或编程技术,也许是不可能的,但是事实是有很多可下载的文件绑定器如此基本,并且似乎是使用简单的gui语言创建的,这让我感到好奇.

ok so we all know that there is some awesome tools that allow you to bind a bunch of files no matter what extensions they have into one executable file ex: EasyBinder v 2.0 , or some other allow us to embed files into another one and extract them to specific locations when the file is run (extracting them without running them) like the one in Advanced bat to exe converter , but when trying to make a script i struggle to find a way to bind or embed random files according to user input , i know it's some advanced scripting or programming techniques and maybe impossible, but the fact that there is a lot of downloadable file binders that are so basic and seem to be created using a simple gui language makes me curious .

在搜索文件活页夹"时,我发现很多程序甚至不到1mb,并且是由一些入门程序员创建的.

任何脚本语言中是否有任何方法或代码可以绑定文件?
等待不耐烦的答复.

is there any way or any code in any scripting language that can bind files ?
waiting reply impatiently .

推荐答案

此- http://consolesoft.com/p/bhx/index.html 将允许您将二进制文件另存为批处理文件中的字符串,并可以选择将其解压缩. 另一种方法是使用certutil-> http://ss64.org/viewtopic.php?id=1562 您可以在base64字符串周围的-----BEGIN CERTIFICATE----------END CERTIFICATE-----标头中将base64字符串嵌入批处理文件中.

This - http://consolesoft.com/p/bhx/index.html will allow you to save a binary file as a a string inside batch file with the option to extract it. Another way is to use certutil -> http://ss64.org/viewtopic.php?id=1562 you can embed a base64 string inside batch file with -----BEGIN CERTIFICATE----- and -----END CERTIFICATE----- headers around the base64 string.

这篇关于脚本技术:使用代码绑定/嵌入文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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