![]() As you can see, we can also include arguments the same way we would when calling a script from the shell. Then, we just have to r eplicate how we would launch the script from our Command prompt. ![]() Now, you can see how we cd to the directory where the script is located. You may choose to not include it at the end of your batch file. PAUSE: This last bit is for the purpose of asking the batch file to not close the command prompt once the script will be done.This could be used in case your scripts don’t return anything and you would like to know when your script is done doing its job for instance. REM: The line that follows REM is just a simple comment.To do that, we need to open our text editor and write the corresponding lines : ![]() For our Windows users out there, the solution lies in creating a Batch file that is going to navigate through our directories, find the script of your choosing and launch it for you. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |