Just to clarify the point, modern windows OSs don't run MS-DOS. Early versions of windows and the 9x line ran on top of MS-DOS so launching a command prompt would actually just expose the MS-DOS command interrupter running underneath windows. The Windows NT line, which XP, Vista, 7, 8 and 10 are a part of, was developed separately from MS-DOS and doesn't contain the MS-DOS command interrupter. Instead it has a program called cmd.exe which supports a similar set of commands but is very much distinct from MS-DOS. So Windows bat/cmd files still exist and are used but they aren't MS-DOS bat files.
K
Kyle Brown
@Kyle Brown