How to Write Basic Computer Programs for a PC

Writing simple computer programs can help you increase your workflow while providing a good introduction into the complex and powerful world of computer science. One of the most simple computer programs to write is a batch file (.bat). Batch files can be used to do a variety of things, from opening multiple programs at once to shutting your computer down at a certain time. Soon, you will be writing countless programs to meet your specific needs.

...
Computer programming takes time to master, but is well worth the effort.

Step

Open up a text editor of your choice.

Step

Type "start calc.exe" (without the quotations).

Step

Click File>Save As...> and type a file name of your choice followed by the file extension ".bat". For example, you could type "calculator.bat". Close the file.

Step

Open up your new batch program. Calculator should open up.

Step

Continue to experiment with different commands to create new programs.