China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --

Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
DOS stands for freedom, openness and progress. Let us work hard, learn from the openness and GNU spirit of FreeDOS and Linux, and together build and grow a free GNU GPL world!

中国DOS联盟论坛
The time now is 2026-06-27 19:26
中国DOS联盟论坛 » DOS疑难解答 & 问题讨论 (解答室) » Can BAT files be encrypted? View 1,344 Replies 9
Original Poster Posted 2004-04-22 00:00 ·  中国 广东 茂名 电信
初级用户
Credits 211
Posts 23
Joined 2004-04-12 00:00
22-year member
UID 22341
Gender Male
Status Offline
I want to encrypt a batch file, but after encryption it still has to run normally. Is there any way to do that? Thanks in advance!
Floor 2 Posted 2004-04-23 00:00 ·  中国 辽宁 朝阳 联通
铂金会员
★★★★
痴迷DOS者
Credits 5,798
Posts 1,924
Joined 2003-06-20 00:00
23-year member
UID 5583
Gender Male
From 金獅電腦軟體工作室
Status Offline
The best way to encrypt a BAT file is to compile it into an executable file. As for programs that compile BAT files into executable files, you can look for related posts on the forum; I already uploaded it.
熟能生巧,巧能生精,一艺不精,终生无成,精亦求精,始有所成,臻于完美,永无止境!
金狮電腦軟體工作室愿竭诚为您服务!
QQ群:8393170(定期清理不发言者)
个人网站:http://www.520269.cn
电子邮件:doujiehui@vip.qq.com
微信公众号: doujiehui
Floor 3 Posted 2004-04-24 00:00 ·  中国 广东 茂名 电信
初级用户
Credits 211
Posts 23
Joined 2004-04-12 00:00
22-year member
UID 22341
Gender Male
Status Offline
Please give me a link, or at least the post title. It's really hard for me to find by searching. I need it rather urgently right now, so I hope kinglion can help. Thanks.
Floor 4 Posted 2004-04-24 00:00 ·  中国 广东 河源 电信
高级用户
★★
Credits 916
Posts 201
Joined 2003-05-04 00:00
23-year member
UID 1849
Gender Male
Status Offline
This is the one, it can convert BAT into a COM file
Floor 5 Posted 2004-04-26 00:00 ·  中国 辽宁 朝阳 联通
铂金会员
★★★★
痴迷DOS者
Credits 5,798
Posts 1,924
Joined 2003-06-20 00:00
23-year member
UID 5583
Gender Male
From 金獅電腦軟體工作室
Status Offline
The following is quoted from ql2000's post at 2004-4-24 12:21:56:
Please give me a link, or at least the post title. It's really hard for me to find by searching. I need it rather urgently right now, so I hope kinglion can help. Thanks.
Open attachment
熟能生巧,巧能生精,一艺不精,终生无成,精亦求精,始有所成,臻于完美,永无止境!
金狮電腦軟體工作室愿竭诚为您服务!
QQ群:8393170(定期清理不发言者)
个人网站:http://www.520269.cn
电子邮件:doujiehui@vip.qq.com
微信公众号: doujiehui
Floor 6 Posted 2004-04-26 00:00 ·  中国 江苏 苏州 昆山市 电信
中级用户
★★
Credits 440
Posts 103
Joined 2004-01-12 00:00
22-year member
UID 15384
Gender Female
Status Offline
This software is really interesting~~
Floor 7 Posted 2004-05-12 00:00 ·  中国 香港 城市电讯有限公司
中级用户
★★
Credits 338
Posts 86
Joined 2003-11-22 00:00
22-year member
UID 13179
Gender Male
Status Offline
Floor 8 Posted 2004-05-17 00:00 ·  中国 江苏 扬州 江都区 电信
初级用户
★★
Credits 331
Posts 56
Joined 2003-03-14 00:00
23-year member
UID 1129
Gender Male
Status Offline
After encrypting autoexec.bat, the batch file won't run anymore. How can this be solved?
Floor 9 Posted 2004-05-17 00:00 ·  中国 上海 鹏博士宽带
高级用户
★★
zhri
Credits 665
Posts 153
Joined 2004-02-23 00:00
22-year member
UID 18241
Gender Male
Status Offline
There's no way at all.

And autoexec.bat doesn't seem to need hiding either?
Floor 10 Posted 2004-05-17 00:00 ·  中国 辽宁 朝阳 联通
铂金会员
★★★★
痴迷DOS者
Credits 5,798
Posts 1,924
Joined 2003-06-20 00:00
23-year member
UID 5583
Gender Male
From 金獅電腦軟體工作室
Status Offline
AUTOEXEC.BAT files cannot be encrypted. If you want to encrypt AUTOEXEC.BAT, please write another batch file separately, and encrypt that file instead, then let AUTOEXEC.BAT call that file. At the same time, use it together with adding the SWITCHS /F /N command in the CONFIG.SYS file.
熟能生巧,巧能生精,一艺不精,终生无成,精亦求精,始有所成,臻于完美,永无止境!
金狮電腦軟體工作室愿竭诚为您服务!
QQ群:8393170(定期清理不发言者)
个人网站:http://www.520269.cn
电子邮件:doujiehui@vip.qq.com
微信公众号: doujiehui
Forum Jump: