![]() With batch files, you only need to paste your BAT file into the directory of your choosing. When using the command prompt, one must direct the prompt to a particular directory before changing a files name, deleting a file, and so on. Instead, they are used to explain and give information regarding the code. Rem statements are not entered into your code. rem: Shorthand for remark provides the same functionality as cls: Clears your command prompt, best used when extraneous code can make what you're accessing had to find.title: Providing much of the same function as a tag in HTML, this will provide a title for your batch script in your Command Prompt window.Adding a following off to this parameter will allow you to quickly close your script after it has finished. If any issues arise from the batch file, you will be able to view the issues associated with your script using the echo function. This parameter is useful for viewing your working code. This parameter will allow you to view your working script in the command prompt.
0 Comments
Leave a Reply. |