中国DOS联盟论坛

China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --
Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
Guest | Log in | Register | Members | Search | China DOS Union
中国DOS联盟论坛
The time now is 2026-09-23 14:38
47,812 topics / 349,917 posts / today 0 new / 48,273 members
DOS批处理 & 脚本技术(批处理室) » Encrypt a bat batch file and write copyright information in it
Printable Version  3,324 / 9
Floor1 xjj2007 Posted 2010-12-03 12:31
初级用户 Posts 57 Credits 149 From 湖南
Create three files in the same directory: "Copyright Information.txt", "Batch.bat", and "Encryption Tool.bat".

The content of the "Copyright Information.txt" file is as follows:
@@@@@@@@@@@@
All rights reserved by Nanshan Tiger
QQ: 123456
EMail: 123456@qq.com
@@@@@@@@@@@@
Leave two or three lines blank here
Then save it again, change the encoding to Unicode, and overwrite the original "Copyright Information.txt".

The content of the "Batch.bat" file is as follows:
Leave two or three lines blank at the front
cls
net user
pause
Save.

The content of the "Encryption Tool.bat" file is as follows:
copy /a Copyright Information.txt + /b Batch.bat = Encrypted Batch.bat
Save
Run the "Encryption Tool.bat"
It will generate an "Encrypted Batch.bat"
Double-click the "Encrypted Batch.bat" to view all your usernames, and open the "Encrypted Batch.bat" with a text editor to see the copyright information and garbled characters.

Be sure to leave a few lines blank, otherwise it will go wrong.
If you don't understand, look at the example in the attachment.

Attachments
加密批处理文件并写入版权信息的实例.rar (597 bytes)
Floor2 xjj2007 Posted 2010-12-03 12:37
初级用户 Posts 57 Credits 149 From 湖南
@@@@@@@@@@@@@@@@@@@@@@@@@@
版权所有:南山猛虎
QQ:123456
电子邮箱:123456@qq.com
@@@@@@@@@@@@@@@@@@@@@@


The second part seems to be some non-English and possibly unrecognizable text, so it remains as is.
਍਍汣൳渊瑥甠敳൲瀊畡敳਍਍
Floor3 ajian Posted 2010-12-03 16:58
初级用户 Posts 38 Credits 38
Not bad, quite fun.
Floor4 lovebaby001 Posted 2010-12-10 07:07
新手上路 Posts 12 Credits 12
It's quite dizzying! It's like magic!
Floor5 vte8689 Posted 2010-12-14 00:44
新手上路 Posts 11 Credits 13
Not bad. Tried it and it's pretty powerful...
Floor6 tcl123 Posted 2010-12-23 11:36
新手上路 Posts 6 Credits 6
Haven't been here for a long time, support the owner!
Floor7 xjj2007 Posted 2010-12-23 16:35
初级用户 Posts 57 Credits 149 From 湖南
You can enter "edit c:\123.bat" in the command prompt (assuming your batch file is c:\123.bat), then cut off the garbled characters in the first line, save it, and then view your batch file, and you can find that the commands inside are visible again.
Floor8 acaigg Posted 2010-12-25 11:19
初级用户 Posts 92 Credits 115
Support the original poster!
Floor9 changbo Posted 2016-02-22 22:11
新手上路 Posts 14 Credits 15
Hahahahahaha
Floor10 gugu33 Posted 2016-12-12 14:53
新手上路 Posts 2 Credits 2
Interesting, good. Caesar, come and take a look
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023