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

  • Anonymous
    August 28, 2005
    C:>ver.It's_Located_On_Mars

    Microsoft Windows XP [Version 5.1.2600]
  • Anonymous
    August 29, 2005
    ver.sion
    ver.isimilitude