Is it possible to write a DOS script to run in Windows 10? Just the good old fashioned DOS commands written into an executable (.exe) file. When I wrote a script with a .exe extension and try to run it I just get this message. I just wrote it in Notepad, saved it as "script1.exe", and tried to run it and get the message below.
I don't know how to write the executable file in 64 bit.
DOS is an operating system that died 20 years ago with Windows ME. You are probably thinking of console commands. You can write such commands using notepad.exe but you must then save them as xxx.bat.
Executables are (and were) created by using a suitable compiler, e.g. a C++ compiler.