中国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-15 20:39
47,813 topics / 349,903 posts / today 1 new / 48,258 members
DOS疑难解答 & 问题讨论 (解答室) » A problem that nobody in the world can solve
Printable Version  2,653 / 26
Floor1 Michael Posted 2003-02-27 00:00
钻石会员 Posts 3,041 Credits 10,056
Floor2 红色狂想 Posted 2003-02-28 00:00
金牌会员 Posts 1,501 Credits 4,289 From 河南省
Then the only choice is to put DOS 6.22 on a floppy by itself. When you need to use it, boot the system with it separately, that is, physically isolate the two systems.
Floor3 Wengier Posted 2003-02-28 00:00
系统支持 Posts 10,521 Credits 27,736
What exactly do you mean by "process" here?
Floor4 红色狂想 Posted 2003-02-28 00:00
金牌会员 Posts 1,501 Credits 4,289 From 河南省
Wengier, you're not asking me, are you?
Floor5 Roy Posted 2003-02-28 00:00
管理员 Posts 1,633 Credits 4,869
Floor6 Michael Posted 2003-02-28 00:00
钻石会员 Posts 3,041 Credits 10,056
It simply won't let it execute autoexec.bat!
The poster above, you're talking nonsense!
Floor7 Roy Posted 2003-02-28 00:00
管理员 Posts 1,633 Credits 4,869
That can't be possible!!
You can only use a compromise method!!
Floor8 Michael Posted 2003-02-28 00:00
钻石会员 Posts 3,041 Credits 10,056
Does Win2000 automatically skip some invalid command lines in autoexec.bat (for example c:\dos\emm386.exe ram, etc.)?
Floor9 Roy Posted 2003-02-28 00:00
管理员 Posts 1,633 Credits 4,869
EMM386.EXE runs in CONFIG.SYS.
And Win2000 will intercept illegal instructions such as direct hard disk access, etc.
Floor10 Michael Posted 2003-02-28 00:00
钻石会员 Posts 3,041 Credits 10,056
win2000 will also process config.sys, right? What am I supposed to do then?
device=c:\dos\emm386.exe ram This line definitely won't work for win2000, right?
Floor11 Wengier Posted 2003-02-28 00:00
系统支持 Posts 10,521 Credits 27,736
Yes, Win2K does selectively execute certain commands in AUTOEXEC.BAT, such as PATH and so on. Roy's method should work.
Floor12 imp Posted 2003-02-28 00:00
银牌会员 Posts 309 Credits 1,001
It seems it won't work. I also tried doing this to skip some settings in autoexec.bat
but didn't succeed
Could it be because when autoexec.bat is running, the os variable doesn't exist yet


But you can use the chioce command


Floor13 Wengier Posted 2003-02-28 00:00
系统支持 Posts 10,521 Credits 27,736
That's not the reason, I'll try it myself in a moment.
Floor14 Wengier Posted 2003-02-28 00:00
系统支持 Posts 10,521 Credits 27,736
After testing, I found that Win2K only executes commands in files like AUTOEXEC.BAT that begin with commands such as SET and PATH, so the solution is actually very simple: just add an extra instruction at the very beginning of that line. For example, change:
PATH=C:\DOS
to:
IF 1==1 PATH=C:\DOS
and then Win2K will not execute that command.

The reason Roy's method does not work is that as soon as Win2K sees a command other than SET or PATH (such as IF), it simply ignores it completely, so it is ineffective.
Floor15 Michael Posted 2003-03-01 00:00
钻石会员 Posts 3,041 Credits 10,056
Thanks, wengier, for willingly “testing it on yourself”; much appreciated!
1 2  Next
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023