I was studying how program and operating system works when an interesting(maybe stupid) scenario came up in my head. What happens if you execute a text file? What I did was, I create a text file with the word "hello" in it, and then save the file as an executable.
When I run it, Windows says it cannot open this type of file. What's going on?
Shouldn't the word "hello" be changed into binary and executed although with random instruction?
Thanks for clearing up my misunderstanding of how exe works.