![]() |
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-10-31 16:33 |
47,815 topics / 349,930 posts / today 0 new / 48,290 members |
| DOS开发编程 & 发展交流 (开发室) » How to programmatically read the Windows version number under DOS |
| Printable Version 858 / 3 |
| Floor1 forgetme | Posted 2005-04-18 00:00 |
| 初级用户 Posts 1 Credits 105 | |
|
How can I programmatically read the Windows version number under DOS?
|
|
| Floor2 foxandmonkey | Posted 2005-04-19 00:00 |
| 初级用户 Posts 23 Credits 129 | |
|
At the NT command line, type ver or winver
|
|
| Floor3 jawbin | Posted 2005-04-25 00:00 |
| 高级用户 Posts 444 Credits 994 | |
|
What DOS? MS-DOS 6.22?
|
|
| Floor4 9zhmke | Posted 2005-05-13 00:00 |
| 中级用户 Posts 99 Credits 355 | |
|
Under pure DOS, I think it's best to determine it by reading the version number of a specified file. If it's just a batch file, you can use NDOS features to read the size of a specified file and judge from that.
|
|
|
[ Contact the Union admin team -
中国DOS联盟 -
Standard version ] Sponsored by ifanr Inc | © 2001–2023 |