中国DOS联盟论坛

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-18 06:23
47,814 topics / 349,907 posts / today 4 new / 48,259 members
DOS疑难解答 & 问题讨论 (解答室) » [Help] Batch file issue: why can't it enter WINDOWS?
Printable Version  1,468 / 12
Floor1 lsj5363390 Posted 2006-05-22 22:39
新手上路 Posts 4 Credits 12
I just made a batch file. Some software needs to run under DOS, the file is as follows:
@ECHO OFF
REM C:\DOS\SMARTDRV/X
PROMPT $p$g
PATH=C:\LC;C:\DOS;C:\TOOLS;C:\
SET TEMP=C:\DOS
rem C:\LC\ELODEV 2201,280,3 -C601,3489,3354,806,1,15
C:\TOOLS\FAST
C:\TOOLS\WDOSEDIT
C:
CD \LC
LOADCARD
DOSTOUCH
CD\g
TOU
ECHO ON
After exiting the program it can't enter 98, and it prompts to press any key to restart. I can guarantee there is no problem with 98 itself.
But if I unplug the hardware (the hardware used by the above program), then after exiting it can enter 98!!!
I've been looking for the problem for days and still couldn't find it, so I have no choice but to ask all you experts for help.
Thanks in advance!!!
Floor2 willsort Posted 2006-05-23 01:57
元老会员 Posts 1,512 Credits 4,432
Re lsj5363390:

Based on the clue “But if I unplug the hardware (the hardware used by the above program), then after exiting it can enter 98!!!”, then the problem may have nothing to do with the batch file itself, but rather with hardware or drivers related to the application. If there are no objections, this thread will be moved to the “Answer Room”

[ Last edited by willsort on 2006-5-23 at 02:07 ]
Floor3 bush Posted 2006-05-23 01:57
银牌会员 Posts 730 Credits 2,165
Have you tried adding the Windows path?
Floor4 lsj5363390 Posted 2006-05-23 08:09
新手上路 Posts 4 Credits 12
How do I add the WINDOWS path??
Please teach me
Floor5 JonePeng Posted 2006-05-23 12:57
金牌会员 Posts 1,883 Credits 4,562 From 广东广州
It's possible that LOADCARD, DOSTOUCH, and TOU have stayed resident in memory and conflict with Win98, so Win98 can't start. See whether these programs have parameters for unloading from memory.
Floor6 lsj5363390 Posted 2006-05-23 15:35
新手上路 Posts 4 Credits 12
Thanks everyone, I finally found the problem. It conflicts with a piece of hardware. Can WINDOWS not have two mice? One is on the black slot, and one is built into the motherboard. If I unplug the black-slot mouse, then there's no problem!!!
Floor7 JonePeng Posted 2006-05-23 21:01
金牌会员 Posts 1,883 Credits 4,562 From 广东广州
Black slot? COM port?
Floor8 DOSforever Posted 2006-05-23 21:30
金牌会员 Posts 2,239 Credits 4,639
WINDOWS can have two mice, both can work at the same time
Floor9 willsort Posted 2006-05-24 01:24
元老会员 Posts 1,512 Credits 4,432

───────────────── Moderator record ─────────────────
Executed by: Will Sort
Action: Moved thread: from “DOS Batch Files & Script Technology (Batch File Room)”
Explanation: Classified according to the thread content; it is more suitable for posting in this section
Notice: The redirect link in the original section will be deleted after three days
Penalty: Since this is a forum newcomer, no credits penalty will be given. Please visit {7326}Forum Newcomer Must Read, everyone's basic code of conduct
───────────────── Moderator record ─────────────────
Floor10 不得不爱 Posted 2006-05-24 07:51
超级版主 Posts 2,044 Credits 5,310 From 四川南充
If too much conventional memory is occupied before starting WIN98, the WIN command will not have enough conventional memory, and WIN98 will not be able to start. After you plug in the mouse on the black slot, type mem after startup and check the conventional memory!
Floor11 lsj5363390 Posted 2006-06-01 10:03
新手上路 Posts 4 Credits 12
It's a black-slot mouse, one that supports a touch screen
Floor12 不得不爱 Posted 2006-06-02 13:03
超级版主 Posts 2,044 Credits 5,310 From 四川南充
I guess it should be insufficient conventional memory. Try loading EMM386 and then try again!
Floor13 htysm Posted 2006-06-26 17:26
高级用户 Posts 415 Credits 866
I've never seen a mouse like the OP's,
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023