One of my friend told me that he used a batch program to install a java program on the machine,that placed the necessary files in a particular directory and also planted a shortcut on the desktop. How can it be done ? If there are tutorials that teach this please link me to them
Share
All you need to do is use some basic windows commands to make this work. I’m not going to write the script for you but I can point you in the right direction. A batch script on windows is a simple text file ending with the
.batextension.You can use any command typically available on the windows command prompt (AKA
cmd.exe). A good starting point is learning how to move and copy files around so you want to take a look at the commands by the same name on the Command-line reference from Microsoft. There is also a handy guide linked on the same page to batch files and how they work.The documentation linked is for Widows XP and the syntax of the commands should be back and forwards compatible with other Windows versions.