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)?
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)?

