Cecil Codes

Hey, I’m Christian Cecil and sometimes I code.

Batch Programming for you

My interest in using the command prompt(cmd) continues to grow,primarily because of how much time it saves me. However, using it daily means typing repititive commands which becomes tedious. Accessing frequently used directories means repeatedly typing cd (command for change directory) along with directory paths. This is where batch programming comes in. Note: directory and folder refer to the same thing Batch programming, also known as batch scripting, involves using batch files(or batch scripts) to execute commands. A batch file contains a set of commands that are executed in a computer,mostly system tasks. I use batch scripts to streamline repetitive actions. For instance, you can create a batch script to launch your favourite apps when your computer starts. In this article, I demonstrate how to use a batch script to quickly switch my current working directory to a desired location using a shortcut, avoiding the need to repeatedly type cd commands and paths. ...

December 10, 2024 · 3 min