I use a utility program named GWX Control Panel from the Ultimate Outsider website. It helps make sure that Windows does not get you into Windows 10 when you do not want to.
Users who depend upon DOS support should be careful about a Windows 10 upgrade. I found that it does not support redirection of output such as in “type file > outputfile”.
But I did find that Oracle’s VirtualBox lets me do many DOS functions under a Windows XP 32 bit virtual machine.
Starting with Vista even if your user account is in the local administrators group there is still something called "UAC" or User Account Control. In order to access the full functionality of some applications - including the command prompt - you need to explicitly run it with elevated privileges.
Instead of just clicking on the link to launch the command prompt, right click on it and choose "Run as Administrator" then try your script or command.
Ditto here--- did the same last Thursday. Had to do a hard power down to prevent MS Gestapo from forcing OS 10 stop installing. My business computer I want to stay Windows 7. My personal laptop I did the upgrade to Windows 10.