![]() |
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-08-08 10:42 |
47,811 topics / 349,895 posts / today 0 new / 48,253 members |
| DOS批处理 & 脚本技术(批处理室) » 【Share】rar "compile" bat file to exe file |
| Printable Version 3,990 / 26 |
| Floor1 plp626 | Posted 2008-04-28 19:18 |
| 银牌会员 Posts 1,020 Credits 2,278 | |
|
In fact, I have used this method for a long time. (This is much better than the quickbfc.exe software) I think some people are the same, just didn't share it with everyone.
Recently, I have given all the good things I can know until "nothing is left". (In fact, these can all be found in the cmd learning in my signature) 1. Right-click to add to the compressed file, 10. If you want to encrypt, click set password in the advanced options. After this is encrypted, the first time it can only be brute-forced. No one can find the source code in the temporary path... ------------------------------------------------------------------------------------------------------------ Here is another small tool (written in assembly) bat2exec, which compiles bat into a com executable file. This tool is okay for simple code. Download:http://upload.cn-dos.net/img/342.rar [ Last edited by plp626 on 2008-4-29 at 11:01 PM ] |
|
| Floor2 s11ss | Posted 2008-04-28 19:20 |
| 银牌会员 Posts 566 Credits 2,098 | |
|
Known a hundred years ago
|
|
| Floor3 abcd | Posted 2008-04-28 19:40 |
| 银牌会员 Posts 739 Credits 1,436 | |
Recently, I've given away all the good things I know until "nothing is left" Can you release your bank password? Hehe, just kidding. |
|
| Floor4 cad55 | Posted 2008-04-28 20:38 |
| 高级用户 Posts 329 Credits 620 | |
Originally posted by plp626 at 2008-4-28 07:45 PM: Respectable ideas and practices... |
|
| Floor5 slore | Posted 2008-04-28 20:47 |
| 铂金会员 Posts 2,478 Credits 5,212 | |
|
Right-click and open with WINRAR...
Then why bother making it into an EXE? |
|
| Floor6 nipo | Posted 2008-04-28 22:07 |
| 中级用户 Posts 106 Credits 228 | |
Originally posted by cad55 at 2008-4-28 08:38 PM: I share the same feeling! |
|
| Floor7 metoo | Posted 2008-04-28 22:34 |
| 初级用户 Posts 93 Credits 195 | |
|
I knew it before I learned p... And there's a last step the original poster didn't mention... Then change that exe suffix to bat.
|
|
| Floor8 tireless | Posted 2008-04-28 23:13 |
| 银牌会员 Posts 1,122 Credits 2,025 | |
Originally posted by slore at 2008-4-28 12:47 AM: Because you can put a beautiful icon on the EXE ![]() You can take a look at this, you can directly add comments, no need to right-click step by step: WinRAR Self-Extracting Command |
|
| Floor9 slore | Posted 2008-04-28 23:22 |
| 铂金会员 Posts 2,478 Credits 5,212 | |
|
The icon of bat has been changed. The main thought is that there is no need for BAT to make EXE. The WINRAR command is still known.
|
|
| Floor10 qwd | Posted 2008-04-29 00:24 |
| 初级用户 Posts 56 Credits 161 | |
|
What you call EXE is a compressed file, right? Although running it directly and then running the BAT still leaves the unzipped BAT file! It would be nice not to have unzipped files! Or specify a place that can't be seen is also okay!
|
|
| Floor11 cad55 | Posted 2008-04-29 09:11 |
| 高级用户 Posts 329 Credits 620 | |
Originally posted by metoo at 2008-4-28 10:34 PM: That's right... You need to change EXE to BAT Otherwise.. it would be interesting. |
|
| Floor12 26933062 | Posted 2008-04-29 11:56 |
| 银牌会员 Posts 879 Credits 2,268 | |
|
I am extremely, extremely, and incredibly grateful to the LZ for sharing!!!
Although some people knew about it 100 years ago, there are still people today after 100 years who don't know, and they are all grateful to you. Maybe there will still be people who don't know after another 100 years, and there will still be a person like you then. Not everyone understands these things from birth. What does the LZ mean by saying he's leaving soon? Not coming anymore? CN-DOS is a respected forum, but the current situation is not very satisfactory. There were many members here who were worthy of everyone's respect before, and there are still many members who are worthy of respect now. [ Last edited by 26933062 on 2008-4-29 at 12:39 PM ] |
|
| Floor13 BWSkyer | Posted 2008-04-29 15:51 |
| 中级用户 Posts 180 Credits 367 From 重庆 | |
|
Studying hard. I also found out for the first time that BAT can be encrypted like this~~ Thanks a lot for sharing your knowledge..
|
|
| Floor14 ZJHJ | Posted 2008-04-29 21:24 |
| 高级用户 Posts 374 Credits 609 | |
|
There is a problem that I don't understand. Although this has become an exe, the release path can also be specified, and what is released is the source code. The exe has been encrypted, but when viewed by RAR packing again, the original form is still exposed.
Using QuickBFC.EXE and then viewing by RAR packing, the original form will not be exposed. But the release path cannot be specified. In fact, as long as the source code is released, there will be no confidentiality. |
|
| Floor15 cad55 | Posted 2008-04-29 21:39 |
| 高级用户 Posts 329 Credits 620 | |
Originally posted by ZJHJ at 2008-4-29 09:24 PM: Yes.. It is not possible to encrypt BAT with RAR. But changing EXE to BAT will have a certain encryption effect................. |
|
| 1 2 Next |
|
[ Contact the Union admin team -
中国DOS联盟 -
Standard version ] Sponsored by ifanr Inc | © 2001–2023 |