如何批量加密程序

Lars Møller avatar

WIBU

2025-02-24

AxProtector加密工具支持命令行调用,因此,您可以编写批处理来对程序进行批量加密。
这里给出一份示例:
@echo off echo 请输入要设置的公司码 set /p FC= echo 请输入要设置的产品码 set /p PC= for %%i in (*.exe) do "%AXPROTECTOR_SDK%bin\AxProtector.exe" -x -kcm -f%FC% -p%PC% -cf0 -d:6.20 -fw:3.00 -slw -ns -cav -cas100 -wu0 -we0 -eac -eec -eusc1 -emc -car30,3 -u:"UserMessage" -v -cag23 -caa7 -# -o:.\protected\%%i %%i
此批处理命令将会加密同一目录下的所有exe格式可执行程序。
免费试用
0