VER Command

Prints operating system’s version informations.



Prints operating version infos. Depending on the platform, and/or the Linux distribution you use, the message displayed might vary. However, the message displayed on Windows platforms is designed to be compatible.

If you need less specific information about the operating system on which pBat is being executed, consider using the %PBAT_OS_TYPE% or %PBAT_OS% instead.


The code for this command has been contributed by Xenoxis.


Compatible with cmd.exe. Available since version 218.3.

See Also

pBat default variables