![]() |
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-09-23 14:09 |
47,812 topics / 349,917 posts / today 0 new / 48,273 members |
| DOS批处理 & 脚本技术(批处理室) » Why does the error occur after compiling with bat2exe? How to modify it? |
| Printable Version 2,094 / 1 |
| Floor1 hongjian | Posted 2005-03-12 00:00 |
| 初级用户 Posts 7 Credits 129 | |
|
Why does compiling with bat2exe result in an error? How to modify it?
The following content: Why does compiling with bat2exe result in an error? How to modify it? @echo off tw /np echo ==== Modify the directory for installing the Windows system ===== set path1=C:\windows echo =========================== :main set mpos= set ?= set M= set N= cls call w.bat box (+white on +blue) @setup.bat:w_main #%mpos% set mpos=%?% cls if errorlevel 100 goto main if "%?%"=="4" goto menu4 if "%?%"=="3" goto menu3 if "%?%"=="2" goto menu2 if "%?%"=="1" goto menu1 :w_main " IMGING_WIN98 Image FOR WIN XP Installer " IMGING_WIN98 Image FOR WIN XP Installer 1. Install to: directory :menu1 xcopy windows\*.* %path1% /Y/S goto ocx :menu2 set path1= goto main :menu3 cls call w.bat box (+white on +blue) @setup.bat:menu33 #%mpos% set mpos=%?% if errorlevel 100 goto main if "%?%"=="1" goto main :menu33 " IMGING_WIN98 Image FOR WIN XP Installer " IMGING_WIN98 Image A very excellent image processing tool previously. Because there is no such program in the WINDOWS XP system, it is extracted under WIN98. If you have any suggestions during use, please contact and inform, thank you! :menu4 exit cxcd windows\system regsvr32.exe imgadmin.ocx goto end :end cls echo. echo. ECHO Installation completed echo =========== echo If you re-enter the menu, please enter MENU and press Enter. echo ============================= set path=%path1% |
|
| Floor2 defrag | Posted 2005-03-12 00:00 |
| 中级用户 Posts 570 Credits 456 | |
|
BAT2EXE does not support ErrorLevel
|
|
|
[ Contact the Union admin team -
中国DOS联盟 -
Standard version ] Sponsored by ifanr Inc | © 2001–2023 |