For a very important reason, it's not exactly like it, but it sure does have a lot of similarities. That important reason it's not really the same has to do with the way PCs running DOS and Windows get themselves organized each time they start. This is done in slightly different ways in old and new PCs, but the principle is the same. This is pretty important stuff. Now we get to the good part.
PATH is a good example.
All the SET instructions fit in this category, too. It won't run Microsoft Word or your Internet browser, but it can run utilities that insert themselves into memory and stay there. It might not work, and you might get a crash, so boot up and test simple operations before you do anything serious. When the PC boots up, you'll be asked if you want to activate the command in that line.