Computing.Net > Forums > Disk Operating System > dos version

dos version

Reply to Message Icon

Original Message
Name: Beginner
Date: March 6, 2001 at 09:18:34 Pacific
Subject: dos version
Comment:

hello everyone
please can someone explain how to find my dos version ? when i type "ver" under dos the answer goes : windows 98 [4.10.222] does that mean that i have a 4 version ?
thank you for replying


Report Offensive Message For Removal

Response Number 1
Name: Laurence
Date: March 6, 2001 at 10:38:32 Pacific
Subject: dos version
Reply: (edit)

Try this:


::====VERSION.BAT
@ECHO OFF
:: Get MS-DOS major/minor version in MAJVER and MINVER
:: author: William Allen
ECHO SET %%1=X>%temp%.\}V.BAT
ECHO SET %%2=XX>>%temp%.\}V.BAT
ECHO a90>>%temp%.\}S
ECHO push cx>>%temp%.\}S
ECHO push bx>>%temp%.\}S
ECHO mov ah,30>>%temp%.\}S
ECHO int 21>>%temp%.\}S
ECHO add al,30>>%temp%.\}S
ECHO mov [107],al>>%temp%.\}S
ECHO mov al,ah>>%temp%.\}S
ECHO aam>>%temp%.\}S
ECHO add ax,3030>>%temp%.\}S
ECHO mov [111],ah>>%temp%.\}S
ECHO mov [112],al>>%temp%.\}S
ECHO pop bx>>%temp%.\}S
ECHO pop cx>>%temp%.\}S
ECHO.>>%temp%.\}S
ECHO g=90 ab>>%temp%.\}S
ECHO w>>%temp%.\}S
ECHO q>>%temp%.\}S
debug %temp%.\}V.BATNUL
CALL %temp%.\}V MAJVER MINVER
DEL %temp%.\}?.*
ECHO MS-DOS version is %MAJVER%.%MINVER%
IF not "%1"=="" SET %1=%MAJVER%
IF not "%2"=="" SET %2=%MINVER%
IF not "%1"=="" SET MAJVER=
IF not "%2"=="" SET MINVER=
::====


Batfiles: The DOS batch file programming handbook


Report Offensive Follow Up For Removal

Response Number 2
Name: Tony
Date: March 6, 2001 at 10:51:49 Pacific
Subject: dos version
Reply: (edit)

don't listen to all that bs =)

you have dos version 7.1
Windows 95OSR2/98/98 SE was shipped with dos 7.1


Report Offensive Follow Up For Removal

Response Number 3
Name: Tony
Date: March 6, 2001 at 10:55:20 Pacific
Subject: dos version
Reply: (edit)

That batch file doesn't work under NT 5.1 (aka whistler)
it brings me up to some kind of wierd prompt. =)
then i type quit, it tells me MS-DOS X.XX
i guess it doesn't work for NT, or else it should have read 5.03 or something of the 5 line


Report Offensive Follow Up For Removal

Response Number 4
Name: Laurence
Date: March 6, 2001 at 13:04:08 Pacific
Subject: dos version
Reply: (edit)


The VER command in Win 9x no longer gives you the Dos version; instead, it gives you the Windows version. It's a ploy by Microsoft to convince you that Windows is the OS and not DOS. Indeed, it's very difficult to obtain the current Dos version. However, if you run the following command:


setver | sort/r /+13 | find/n/v "" | find "[3]"


then the number in the right-hand column should be the Dos version that you're running under.

You can also try this which returns the major DOS version as a set errorlevel (after running dosver.com).

:: dosver.bat
@echo off
rem
rem This .bat file creates the program DOSVER.COM,
rem which returns errorlevel=major DOS version number (if 5 or later)
rem
echo a100>%temp%.\$
echo mov ax,3306>>%temp%.\$
echo int 21>>%temp%.\$
echo mov al,bl>>%temp%.\$
echo mov ah,4c>>%temp%.\$
echo int 21>>%temp%.\$
echo.>>%temp%.\$
echo n %temp%.\DOSVER.COM>>%temp%.\$
echo rbx>>%temp%.\$
echo 0>>%temp%.\$
echo rcx>>%temp%.\$
echo 0b>>%temp%.\$
echo w>>%temp%.\$
echo q>>%temp%.\$
debug nul
del %temp%.\$


Report Offensive Follow Up For Removal

Response Number 5
Name: TechGUY
Date: March 6, 2001 at 15:37:58 Pacific
Subject: dos version
Reply: (edit)

Simple Guide.
Windows 95 and 95A are MS-DOS 7.0
Windows 95B or C (aka OSR 2) are MS-DOS 7.10
Windows 98 and 98se are MS-DOS 7.10
Windows Me is MS-DOS 8.0
Windows Whistler (aka XP) is "No Idea"

No version of MS-DOS after MS-DOS 6.22 has been released as a 'Standalone Version' which
is why they report the Windows Version. (And yes it is a ploy by Microsoft to convince you that Windows is the OS and not DOS)

Main differance between MS-DOS 7.0 and 7.10
is Large Disk Support.


Report Offensive Follow Up For Removal


Response Number 6
Name: Tony
Date: March 6, 2001 at 17:03:20 Pacific
Subject: dos version
Reply: (edit)

Whistler being of NT decent, doesn't actually have dos, only emaiates MS-DOS 5.0X.


Report Offensive Follow Up For Removal

Response Number 7
Name: Beginner
Date: March 7, 2001 at 02:21:46 Pacific
Subject: dos version
Reply: (edit)

just signed in to find your answers thank u all for replying so i guess i have the 7.1 version.
to Laurence : ECHO my heart, tell me i'm the only one :}
good luck with your io.sys project; i'm sure we'll colonise io some day :}
thnx again you're all great


Report Offensive Follow Up For Removal

Response Number 8
Name: franklyn
Date: March 7, 2001 at 03:14:18 Pacific
Subject: dos version
Reply: (edit)

is windows 98 messed up or what?
can someone email me on how to delete my temps on my emm386.exe
and how to remove TRSs
jentzie@hotmail.com


Report Offensive Follow Up For Removal

Response Number 9
Name: John
Date: March 8, 2001 at 08:45:37 Pacific
Subject: dos version
Reply: (edit)

this URL (address)will tell you all the versions of DOS that came with all versions windows, NT, ETC, ETC.
You have windows 98 DOS Version 4.10 Second Edition.
Check it out. Good Luck
http://www.computerhope.com/whow.htm


Report Offensive Follow Up For Removal

Response Number 10
Name:
Date: March 8, 2001 at 15:16:58 Pacific
Subject: dos version
Reply: (edit)

Jahn we are talking versions of DOS here. Not what sub-version of Windows 4.0 it is!


Report Offensive Follow Up For Removal






Use following form to reply to current message:

   Name: From My Computing.Net Settings
 E-Mail: From My Computing.Net Settings

Subject: dos version 

Comments:

 


  Homepage URL (*): 
Homepage Title (*): 
         Image URL: 
 
Data Recovery Software