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!
Credits 102 Posts 35 Joined 2006-03-16 11:56 20-year member UID 52168
Status Offline
Originally posted by lxq73061 at 2006-11-25 04:07:
My simplest method (even beginners can do it)
Use WinRAR to make a self-extracting package of the batch file. Set the extraction method to "temporary folder" (you can also specify a hidden path), set the quiet mode to "completely hidden", and set the overwrite method to "overwrite all files".
You can also add a password, but you need to enter the correct password to run it when it's executed. Then enter the name of this batch file in the "run after extraction" option.
For example, for the batch file test.bat, after compression, it will generate an executable file test.exe. Now it can be used. But when you right-click on the file, you can still see that it's a WinRAR compressed file. I then change its suffix to.com or.bat or.cmd, etc. Then if you open it with Notepad, it's all garbled. They will think it's encrypted using the method above.
Credits 38 Posts 15 Joined 2006-10-19 23:07 19-year member UID 67027
Status Offline
Originally posted by chenall at 2006-11-22 03:09:
I upload the batch script for encryption and decryption that I use myself, you can give it a try.
Simple interface.
Using DEBUG.
Encrypt.cmd just adds a few control characters in front of the processed file, without adding any ...
Tested that this file cannot be encrypted
@ECHO OFF
shutdown.exe -r -t 0
Credits 38 Posts 15 Joined 2006-10-19 23:07 19-year member UID 67027
Status Offline
Originally posted by chenall at 2006-11-22 03:09:
I upload the batch script for encryption and decryption that I use myself, you can give it a try.
Simple interface.
Using DEBUG.
Encrypt.cmd just adds a few control characters in front of the processed file, without adding any ...
Tested and unable to encrypt this file
@ECHO OFF
shutdown.exe -r -t 0
Credits 783 Posts 268 Joined 2006-12-26 17:18 19-year member UID 74627 Gender Male
Status Offline
Some people are wise enough to change the .bat suffix to the opening form of text such as .doc for viewing. Has it been tested and passed on Chinese Windows? Has it been tested and passed on machines with other languages? What about Vista?