本帖最后由 zdeity 于 2021-9-6 10:01 编辑
我今天偶然发现了Bat_To_Exe_Converter可以作为命令行第三方使用
蓝奏云下载链接:https://zdeity.lanzoui.com/i539stnuo6h
方法如下- Usage
-
- Bat_To_Exe_Converter /bat infile.bat /exe outfile.exe {Options}
-
-
- Options
-
- /bat [filename] The source batch file
- /exe [filename] The filename of the executable
- /icon [filename] The icon of the executable
- /include [filename] Include an additional file/folder
- /password [password] Password protect the executable
- /invisible Create an invisible application
- /x64 Create a 64 Bit application
- /workdir [directory] The working directory
- /extractdir [directory] The extract directory
- /uac-admin Add administrator privileges to the executable
- /uac-user Add user privileges to the executable
- /upx Compress the executable with UPX
- /async Extract embedded items asynchronous
- /deleteonexit Delete embedded items on exit
- /overwrite Overwrite existing files
- /attributes Store the file attributes of embedded items
- /display Display the short path names of embedded items
- /fileversion [string] File version number
- /productversion [string] Product version number
- /productname [string] Product name
- /originalfilename [string]Original file name
- /internalname [string] Internal name
- /description [string] Description
- /company [string] Company name
- /trademarks [string] Trademarks
- /copyright [string] Copyright
- /privatebuild [string] Private build
- /specialbuild [string] Special build
- /comments [string] Comments
-
-
- Examples
-
- Bat_To_Exe_Converter /bat infile.bat /exe outfile.exe
- Bat_To_Exe_Converter /bat infile.bat /exe outfile.exe /include myfile.txt
- Bat_To_Exe_Converter /bat infile.bat /exe outfile.exe /x64 /uac-admin
- Bat_To_Exe_Converter /bat infile.bat /exe outfile.exe /workdir 10 /invisible
- Bat_To_Exe_Converter /bat infile.bat /exe outfile.exe /include myfolder
复制代码 我用Google翻译得到的翻译结果如下- 用法
-
- Bat_To_Exe_Converter /bat infile.bat /exe outfile.exe {选项}
-
-
- 选项
-
- /bat [filename] 源批处理文件
- /exe [filename] 可执行文件的文件名
- /icon [filename] 可执行文件的图标
- /include [文件名] 包括一个额外的文件/文件夹
- /password [password] 密码保护可执行文件
- /invisible 创建一个不可见的应用程序
- /x64 创建 64 位应用程序
- /workdir [目录] 工作目录
- /extractdir [directory] 解压目录
- /uac-admin 为可执行文件添加管理员权限
- /uac-user 为可执行文件添加用户权限
- /upx 用 UPX 压缩可执行文件
- /async 异步提取嵌入的项目
- /deleteonexit 在退出时删除嵌入的项目
- /overwrite 覆盖现有文件
- /attributes 存储嵌入项目的文件属性
- /display 显示嵌入项目的短路径名
- /fileversion [string] 文件版本号
- /productversion [string] 产品版本号
- /productname [string] 产品名称
- /originalfilename [string]原始文件名
- /internalname [string] 内部名称
- /description [字符串] 说明
- /company [字符串] 公司名称
- /trademarks [字符串] 商标
- /copyright [字符串] 版权
- /privatebuild [string] 私有构建
- /specialbuild [string] 特殊版本
- /comments [字符串] 评论
-
-
- 例子
-
- Bat_To_Exe_Converter /bat infile.bat /exe outfile.exe
- Bat_To_Exe_Converter /bat infile.bat /exe outfile.exe /include myfile.txt
- Bat_To_Exe_Converter /bat infile.bat /exe outfile.exe /x64 /uac-admin
- Bat_To_Exe_Converter /bat infile.bat /exe outfile.exe /workdir 10 /invisible
- Bat_To_Exe_Converter /bat infile.bat /exe outfile.exe /include myfolder
复制代码
|