Will and medal! Can anyone teach me some helpful batch file commands? Or the basics of coding?
forget the coding basics. I just need helpful batch files. @phi @AccessDenied
@Nurali @robtobey @iambatman @e.mccormick
Helpful for what? A batch file comes from the non-technical meaning of batch: a group. That is all a batch file really is. A group of command that are organized in a way to allow them to run in a specific order. No more. No less. In UNIXish environments, these are called shell scripts.
http://technet.microsoft.com/en-us/library/cc754340.aspx Command line reference for windows systems, http://cli.learncodethehardway.org/bash_cheat_sheet.pdf less exhaustive reference of bash commands for linux systems, and http://ss64.com/osx/ for mac terminal. As stated, batch files and shell scripts are basically lists of commands saved into a file (.bat on windows) typed as you would enter them at the command prompt. In most linux environments i believe .sh is the convention, but extensions are completely optional. you may have to chmod your script to add permissions to execute though.
Join our real-time social learning platform and learn together with your friends!