|
prodigall
初级用户
 
积分 80
发帖 36
注册 2007-6-14
状态 离线
|
『楼 主』:
[讨论]關於BAT文件轉化成COM或EXE文件
使用 LLM 解释/回答一下
因某種需要,需將BAT文件轉化成COM或EXE文件,有朋友介紹使用BAT2COM這個程式,試過有些作用,能正確轉化,且在DOS下使用EDIT命令能看到轉化後的COM文件裡面的內容,但不能被再編輯。
但這支程式存在一些BUG,即不能限制DOS下第三方程式對COM文件的編輯,現有一norton在DOS下的軟體NC.EXE就可編輯BAT2COM轉化後的COM文件,就像編輯BAT文件一樣。
請教各位:有沒有其它的BAT文件轉化成COM或EXE文件的程式?
或是限制NC.EXE對COM文件的編輯(但不能限制對BAT文件的編輯)?
For some reason, I need to convert a BAT file into a COM or EXE file. A friend recommended using the BAT2COM program. I tried it and it worked to some extent. It could correctly convert, and when using the EDIT command in DOS, I could see the content inside the converted COM file, but it couldn't be edited again.
However, this program has some bugs, that is, it can't restrict the editing of COM files by third-party programs in DOS. There is a Norton software NC.EXE in DOS that can edit the COM file converted by BAT2COM, just like editing a BAT file.
Dear friends, is there any other program that can convert BAT files into COM or EXE files? Or is there a way to restrict the editing of COM files by NC.EXE (but not restrict the editing of BAT files)?
|
|
2008-10-14 10:35 |
|
|
chenhaihua
初级用户
 
积分 21
发帖 11
注册 2008-10-14 来自 福建泉州
状态 离线
|
『第 2 楼』:
使用 LLM 解释/回答一下
兄弟,你说明白点啊,看不大清楚
Bro, please make it clearer. I can't see it very clearly.
|
|
2008-10-14 21:32 |
|
|
HAT
版主
       
积分 9023
发帖 5017
注册 2007-5-31
状态 离线
|
|
2008-10-14 21:35 |
|
|
ahongguo
新手上路

积分 10
发帖 7
注册 2008-10-15 来自 河北沧州
状态 离线
|
|
2008-10-15 07:29 |
|
|
prodigall
初级用户
 
积分 80
发帖 36
注册 2007-6-14
状态 离线
|
『第 5 楼』:
使用 LLM 解释/回答一下
3樓版主:
多謝了,我已下下來試過,應該可以解決我所提到的問題啦。
但另一個問題產生了,使用批处理潜行者生成的exe文件會修改我原來的文件名啊。
如原來為a.bat,產生的exe文件卻是abat.exe。
因為我會在b.bat中調用a.bat,那這樣我b.bat中的內容也要修改了。
有沒有辦法不改原文件名啊?
3rd楼主:
Thanks, I've downloaded and tried it, it should solve the problem I mentioned.
But another problem has arisen, the EXE file generated by the batch Stalker will modify my original file name.
For example, the original is a.bat, and the generated EXE file is abat.exe.
Because I will call a.bat in b.bat, then the content in my b.bat also needs to be modified.
Is there a way to not change the original file name?
|
|
2008-10-15 10:28 |
|
|
ZJHJ
高级用户
   
积分 609
发帖 374
注册 2006-8-2
状态 离线
|
『第 6 楼』:
使用 LLM 解释/回答一下
批处理潜行者V5.0没有什么特别的地方,同样实用性存在问题。
1 对于大约100k的文件,生成exe后,达到600多k且不能使用。
2 同样要释放文件,并且同样非常容易捕获到源码。
3 转换文件特慢。
Batch processing Stalker V5.0 has nothing special, and the practicality is also problematic.
1 For a file of about 100k, after generating the exe, it reaches more than 600k and cannot be used.
2 It also needs to extract files, and it is also very easy to capture the source code.
3 Converting files is extremely slow.
|
|
2008-10-15 13:42 |
|
|
HAT
版主
       
积分 9023
发帖 5017
注册 2007-5-31
状态 离线
|
『第 7 楼』:
Re 5楼
使用 LLM 解释/回答一下
手工把abat.exe改成a.exe不行吗?
要想自动避免这个问题,可以联系《批处理潜行者V5.0》的作者进行修改。
Can't I manually change abat.exe to a.exe? To automatically avoid this problem, you can contact the author of "Batch Processing Stalker V5.0" for modification.
|

 |
|
2008-10-15 21:23 |
|