中国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-13 01:37
47,811 topics / 349,897 posts / today 0 new / 48,256 members
DOS学习入门 & 精彩文章 (教学室) » What file is best for marking the system?
Printable Version  1,139 / 7
Floor1 电吉入侵 Posted 2003-08-14 00:00
初级用户 Posts 377 Credits 1,480
What I mean is:
I want to use one file to tell what system it is, like win98, win2K, xp, etc.; what file would be good for that?
I originally used pdos95.bat to mark win98, but I'm afraid someone might delete it...
Floor2 cn_archer Posted 2003-08-14 00:00
元老会员 Posts 991 Credits 2,903 From 福建省
Ha, I think for win98 just use win98.bat or pwin98.bat, and for win2k just use win2k.bat...
Floor3 电吉入侵 Posted 2003-08-14 00:00
初级用户 Posts 377 Credits 1,480
Geez.....
Let me explain: if I want to know what operating system is installed on drive C, then I let the program check whether the file C:\windwos\command\pdos95.bat exists; if it does, then treat it as win98.....
Floor4 cn_archer Posted 2003-08-14 00:00
元老会员 Posts 991 Credits 2,903 From 福建省
Geez, this isn't very broadly applicable...
What if you run into MiniWin98?
Floor5 电吉入侵 Posted 2003-08-14 00:00
初级用户 Posts 377 Credits 1,480
If it's a special case like that then I'll do it manually, because I'm targeting ordinary users, and the most likely cases are 98/2k/xp; NT is rare enough...
Not to mention MiniWin98...
Floor6 Wengier Posted 2003-08-15 00:00
系统支持 Posts 10,521 Credits 27,736
PDOS95.BAT? What if it's English win98 or Traditional Chinese edition Win98? What if only MS-DOS 7.10 plus the PDOS95 Chinese character support system plugin is installed, without win98?


Floor7 电吉入侵 Posted 2003-08-15 00:00
初级用户 Posts 377 Credits 1,480
That's exactly why I'm asking everyone what to use?????????//I'm not asking everyone to judge whether using pdos95.bat is good or not........
And what about win2k and xp/?
Floor8 cn_archer Posted 2003-08-15 00:00
元老会员 Posts 991 Credits 2,903 From 福建省
I still think using a directory as the marker is a bit more precise... though it would be a little more troublesome
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023