找回密码
 注册
搜索
[新手上路]批处理新手入门导读[视频教程]批处理基础视频教程[视频教程]VBS基础视频教程[批处理精品]批处理版照片整理器
[批处理精品]纯批处理备份&还原驱动[批处理精品]CMD命令50条不能说的秘密[在线下载]第三方命令行工具[在线帮助]VBScript / JScript 在线参考
查看: 15879|回复: 7

[格式转换] Bat_To_Exe_Converter作为命令行第三方时的用法

[复制链接]
发表于 2021-9-6 09:54:29 | 显示全部楼层 |阅读模式
本帖最后由 zdeity 于 2021-9-6 10:01 编辑

我今天偶然发现了Bat_To_Exe_Converter可以作为命令行第三方使用
蓝奏云下载链接:https://zdeity.lanzoui.com/i539stnuo6h
方法如下

  1. Usage

  2.    Bat_To_Exe_Converter /bat infile.bat /exe outfile.exe {Options}


  3. Options

  4.   /bat [filename]           The source batch file
  5.   /exe [filename]           The filename of the executable
  6.   /icon [filename]          The icon of the executable
  7.   /include [filename]       Include an additional file/folder
  8.   /password [password]      Password protect the executable
  9.   /invisible                Create an invisible application
  10.   /x64                      Create a 64 Bit application
  11.   /workdir [directory]      The working directory
  12.   /extractdir [directory]   The extract directory
  13.   /uac-admin                Add administrator privileges to the executable
  14.   /uac-user                 Add user privileges to the executable
  15.   /upx                      Compress the executable with UPX
  16.   /async                    Extract embedded items asynchronous
  17.   /deleteonexit             Delete embedded items on exit
  18.   /overwrite                Overwrite existing files
  19.   /attributes               Store the file attributes of embedded items
  20.   /display                  Display the short path names of embedded items
  21.   /fileversion [string]     File version number
  22.   /productversion [string]  Product version number
  23.   /productname [string]     Product name
  24.   /originalfilename [string]Original file name
  25.   /internalname [string]    Internal name
  26.   /description [string]     Description
  27.   /company [string]         Company name
  28.   /trademarks [string]      Trademarks
  29.   /copyright [string]       Copyright
  30.   /privatebuild [string]    Private build
  31.   /specialbuild [string]    Special build
  32.   /comments [string]        Comments


  33. Examples

  34.    Bat_To_Exe_Converter /bat infile.bat /exe outfile.exe
  35.    Bat_To_Exe_Converter /bat infile.bat /exe outfile.exe /include myfile.txt
  36.    Bat_To_Exe_Converter /bat infile.bat /exe outfile.exe /x64 /uac-admin
  37.    Bat_To_Exe_Converter /bat infile.bat /exe outfile.exe /workdir 10 /invisible
  38.    Bat_To_Exe_Converter /bat infile.bat /exe outfile.exe /include myfolder
复制代码
我用Google翻译得到的翻译结果如下

  1. 用法

  2.    Bat_To_Exe_Converter /bat infile.bat /exe outfile.exe {选项}


  3. 选项

  4.   /bat [filename] 源批处理文件
  5.   /exe [filename] 可执行文件的文件名
  6.   /icon [filename] 可执行文件的图标
  7.   /include [文件名] 包括一个额外的文件/文件夹
  8.   /password [password] 密码保护可执行文件
  9.   /invisible 创建一个不可见的应用程序
  10.   /x64 创建 64 位应用程序
  11.   /workdir [目录] 工作目录
  12.   /extractdir [directory] ​​解压目录
  13.   /uac-admin 为可执行文件添加管理员权限
  14.   /uac-user 为可执行文件添加用户权限
  15.   /upx 用 UPX 压缩可执行文件
  16.   /async 异步提取嵌入的项目
  17.   /deleteonexit 在退出时删除嵌入的项目
  18.   /overwrite 覆盖现有文件
  19.   /attributes 存储嵌入项目的文件属性
  20.   /display 显示嵌入项目的短路径名
  21.   /fileversion [string] 文件版本号
  22.   /productversion [string] 产品版本号
  23.   /productname [string] 产品名称
  24.   /originalfilename [string]原始文件名
  25.   /internalname [string] 内部名称
  26.   /description [字符串] 说明
  27.   /company [字符串] 公司名称
  28.   /trademarks [字符串] 商标
  29.   /copyright [字符串] 版权
  30.   /privatebuild [string] 私有构建
  31.   /specialbuild [string] 特殊版本
  32.   /comments [字符串] 评论


  33. 例子

  34.    Bat_To_Exe_Converter /bat infile.bat /exe outfile.exe
  35.    Bat_To_Exe_Converter /bat infile.bat /exe outfile.exe /include myfile.txt
  36.    Bat_To_Exe_Converter /bat infile.bat /exe outfile.exe /x64 /uac-admin
  37.    Bat_To_Exe_Converter /bat infile.bat /exe outfile.exe /workdir 10 /invisible
  38.    Bat_To_Exe_Converter /bat infile.bat /exe outfile.exe /include myfolder
复制代码

评分

参与人数 4技术 +4 收起 理由
zoomark + 1 谢谢分享
locoman + 1 谢谢无私分享,收藏学习。
zybers + 1 感谢分享
zinc + 1 感谢分享

查看全部评分

发表于 2021-9-6 12:36:14 | 显示全部楼层
第三方命令行的 Bat转EXE 的HELP.EXE有写...
发表于 2021-9-6 12:37:30 | 显示全部楼层
 楼主| 发表于 2021-9-6 17:24:12 | 显示全部楼层
回复 3# cmd1152


    那就当我是换个链接吧
 楼主| 发表于 2021-9-6 17:24:31 | 显示全部楼层
回复 3# cmd1152


    或者是翻译了一下
发表于 2021-9-6 17:51:05 | 显示全部楼层
发表于 2021-9-6 23:33:00 | 显示全部楼层
回复 1# zdeity [

    谢谢楼主无私奉献!!

/include [文件名] 包括一个额外的文件/文件夹
/invisible 创建一个不可见的应用程序
/async 异步提取嵌入的项目


等等这些还是理解不到真实的作用啊!
 楼主| 发表于 2021-9-7 08:32:15 | 显示全部楼层
本帖最后由 zdeity 于 2021-9-7 09:02 编辑

回复 7# locoman


/invisible 创建一个不可见的应用程序 -- 指的是创建出的exe自动隐藏cmd窗口,
/include [文件名] 包括一个额外的文件/文件夹 -- 经过测试,它的意思是运行exe时会自动把include的文件(夹)释放出来,做安装包的时候可以用
/async 异步提取嵌入的项目 -- 这是和/include [文件名]一起用的,作用就是异步提取文件,建议不要选(一般异步会降低效率)

评分

参与人数 4技术 +4 收起 理由
locoman + 1 乐于答疑解惑
zoomark + 1 谢谢普及
zybers + 1 感谢分享
zinc + 1 乐于助人

查看全部评分

您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|手机版|小黑屋|批处理之家 ( 渝ICP备10000708号 )

GMT+8, 2026-3-16 23:45 , Processed in 0.022738 second(s), 8 queries , File On.

Powered by Discuz! X3.5

© 2001-2026 Discuz! Team.

快速回复 返回顶部 返回列表