Re 本是:
Indeed, version 2.0a has added a lot of functions and bugs :-)
Test environment: Pure DOS environment booted with the Super MSDOS 7.10 boot disk.
Test files: demo.bat - The batch demo provided in the previous version
demo.txt - A single-line Chinese character text file extracted from demo.bat
demom.txt - A multi-line Chinese character text file extracted from demo.bat
Test overview:
1. vthzmk /f demo.bat
After running, it prompts *08* error, the system freezes after displaying the correct conversion result, and after restarting, demo.exe and demo.new are generated.
If demo.txt is used instead, deadlocks occur rarely. If demom.txt is used, deadlocks occur frequently, and in the virtual machine environment, it is often accompanied by closing the DOS client window.
Suspected problem: After running demo.exe and then type demo.new, it is found that the replaced Chinese characters are incorrect. Starting from c0 80, it is "Design Luo Ming'an..." and so on, which occurred once.
2. vthzmk /i < demo.txt
After running, it prompts *08* error, the result is displayed correctly, vthz.exe and vthz.new are generated, and vthz.new is missing the second half of the last Chinese character and has no carriage return or line feed.
Suspected problem: The result displayed after running also lacks the second half of the last Chinese character. Occurred once.
3. vthzmk /s Test Chinese character string
After running, it prompts *08* error, the result has no carriage return or line feed, vthz.exe and vthz.new are generated, and the last two bytes of vthz.new are 00 00.
4. vthzmk -i1 /i < demo.txt
Prompt *02* is still English
5. vthzmk -m 9 /F demo.txt /y /r
Prompt *02* error, the result is displayed correctly, .exe/.new is generated (?), /y and /r are both ignored.
Indeed, version 2.0a has added a lot of functions and bugs :-)
Test environment: Pure DOS environment booted with the Super MSDOS 7.10 boot disk.
Test files: demo.bat - The batch demo provided in the previous version
demo.txt - A single-line Chinese character text file extracted from demo.bat
demom.txt - A multi-line Chinese character text file extracted from demo.bat
Test overview:
1. vthzmk /f demo.bat
After running, it prompts *08* error, the system freezes after displaying the correct conversion result, and after restarting, demo.exe and demo.new are generated.
If demo.txt is used instead, deadlocks occur rarely. If demom.txt is used, deadlocks occur frequently, and in the virtual machine environment, it is often accompanied by closing the DOS client window.
Suspected problem: After running demo.exe and then type demo.new, it is found that the replaced Chinese characters are incorrect. Starting from c0 80, it is "Design Luo Ming'an..." and so on, which occurred once.
2. vthzmk /i < demo.txt
After running, it prompts *08* error, the result is displayed correctly, vthz.exe and vthz.new are generated, and vthz.new is missing the second half of the last Chinese character and has no carriage return or line feed.
Suspected problem: The result displayed after running also lacks the second half of the last Chinese character. Occurred once.
3. vthzmk /s Test Chinese character string
After running, it prompts *08* error, the result has no carriage return or line feed, vthz.exe and vthz.new are generated, and the last two bytes of vthz.new are 00 00.
4. vthzmk -i1 /i < demo.txt
Prompt *02* is still English
5. vthzmk -m 9 /F demo.txt /y /r
Prompt *02* error, the result is displayed correctly, .exe/.new is generated (?), /y and /r are both ignored.
※ Batchinger 致 Bat Fans:请访问 批处理编程的异类 ,欢迎交流与共享批处理编程心得!

DigestI
Thanks to moderator willsort for testing and giving suggestions on each program I release, which enables me to keep making up my mind to DEBUG (I have used TurboDebug, DebugBrandX, Insight, TR, SymDeb, which I couldn't have imagined before!)
Assembly is what I like, and DEBUG is what pushed me to take the plunge by you all.
back to the "main topic" -- the attached file is the VTHZMK 2.0b version that I have DEBUGged (the change in the version number is in line with moderator willsort's suggestion) -- I am a liberal arts student, haven't taken a single computer course, don't understand any software design "norms" at all,
please forgive me!