Source: https://cden.tu.edu.iq/images/New/2016/Lectures/Computer/20162017/win-dos-new2.pdf