At least as late as 2012, and likely through to its ultimate demise in 2015, one of my previous employer's production systems ran DOS.
Only recently, the SFMTA's train controls are planned to be upgraded from their 5¼"-floppy-based system that was installed in 1998.

