random fun with builtins


I got a question during a chat about where the “ver” exe was located 🙂


C:\>ver


Microsoft Windows XP [Version 5.1.2600]


C:\>ver.bogus


Microsoft Windows XP [Version 5.1.2600]


C:\>for %e in (%PATHEXT%) do ver%e


C:\>ver.COM


Microsoft Windows XP [Version 5.1.2600]


C:\>ver.EXE


Microsoft Windows XP [Version 5.1.2600]


C:\>ver.BAT


Microsoft Windows XP [Version 5.1.2600]


C:\>ver.CMD


Microsoft Windows XP [Version 5.1.2600]


C:\>ver.VBS


Microsoft Windows XP [Version 5.1.2600]


C:\>ver.VBE


Microsoft Windows XP [Version 5.1.2600]


C:\>ver.JS


Microsoft Windows XP [Version 5.1.2600]


C:\>ver.JSE


Microsoft Windows XP [Version 5.1.2600]


C:\>ver.WSF


Microsoft Windows XP [Version 5.1.2600]


C:\>ver.WSH


Microsoft Windows XP [Version 5.1.2600]


C:\>


 


Comments (2)

  1. TAG says:

    C:>ver.It’s_Located_On_Mars

    Microsoft Windows XP [Version 5.1.2600]

  2. CRathjen says:

    ver.sion

    ver.isimilitude