![Script to mount dmg and copy app to appliations folder](https://cdn-ak.f.st-hatena.com/images/fotolife/g/greathigh-power/20200126/20200126193937.jpg)
This will create an executable file that will cause our computer to run the tasks described inside it when activated.Īnd this is pretty much all you need to know for Windows.
![script to mount dmg and copy app to appliations folder script to mount dmg and copy app to appliations folder](https://raw.githubusercontent.com/chriswayg/CC-Offline-Package-Generator/master/screenshots/Usage00b.png)
In my case, I decided to name my file launch_likes.bat. Once all of this is set up, we want to save our file with the. bat file in your Desktop, you will not be able to reach scripts that are located in folders that are located one folder up unless you plan for that inside of your bat file (By using cd. One of the thing that has to be taken into account is that the Batch file will launch the console from the folder the. 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.
![script to mount dmg and copy app to appliations folder script to mount dmg and copy app to appliations folder](https://miro.medium.com/max/1400/1*ka1y1DCsrMM31PRGSQWkHA.png)
![script to mount dmg and copy app to appliations folder script to mount dmg and copy app to appliations folder](https://helpcenter.onlyoffice.com/es/images/help/guides/installmac.png)
#SCRIPT TO MOUNT DMG AND COPY APP TO APPLIATIONS FOLDER WINDOWS#
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.
![Script to mount dmg and copy app to appliations folder](https://cdn-ak.f.st-hatena.com/images/fotolife/g/greathigh-power/20200126/20200126193937.jpg)