View Single Post
  #2  
Unread 05-08-2013, 01:50 PM
Drumstix42's Avatar
Drumstix42 Drumstix42 is offline
A Griffon
Featured
 
Join Date: Oct 2004
Server: Antonia Bayle
Posts: 3,287
Send a message via AIM to Drumstix42 Send a message via MSN to Drumstix42 Send a message via Yahoo to Drumstix42
Default

Would you like to create a batch file to run multiple patchers/programs with one click?
Does your Updater not launch programs properly via settings?


This is how to create a file to open DrumsUI Updater and EQ2Map Updater simultaneious via a Batch file.
  1. First, open your Start Menu and search for DrumsUI Updater so that it shows it as a result. (Alternatively, right-click the shortcut on your desktop)
  2. Right-click DrumsUI Updater and hit Properties.
  3. This will show the Properties window of your DrumsUI shortcut. Leave this window open.
  4. Open Notepad
  5. Paste this in:
    Code:
    @echo OFF
    "C:\Program Files (x86)\Java\jre7\bin\javaws.exe" -localfile -J-Djnlp.application.href=http://updater.pala.de/drumsui.jnlp "C:\Users\***\AppData\LocalLow\Sun\Java\Deployment\cache\6.0\51\67d8c133-5efb0fd2"
    "C:\Program Files (x86)\EQ2MAP Updater\EQ2MAP_Updater.exe"
  6. Now Copy the Target line from the Properties window that you have open. It will look something like this:
    "C:\Program Files (x86)\Java\jre7\bin\javaws.exe" -localfile -J-Djnlp.application.href=http://updater.pala.de/drumsui.jnlp "C:\Users\***\AppData\LocalLow\Sun\Java\Deployment\cache\6.0\51\67d8c133-5efb0fd2"

  7. Paste the contents of the Target OVER TOP of the entire Line 2 of the code you have in Notepad. (What is above is just an example for you to replace)
  8. You'll have to replace Line 3 with the proper location of your EQ2MAP_Updater.exe. You can find this by similarly right-clicking your shortcut for that.
  9. Now File > Save As... in Notepad.
  10. Change the Save As Type to All Files (*.*)
  11. Name the file Updaters.bat (or name it whatever you would like)
  12. Save it to your desktop.

So basically each line is just a program to launch essentially.
If you would like to change the icon of your batch file, the best way is to move the batch file into your Documents, right-click it and Send To Desktop (Create Shortcut). This will make a Shortcut to the batch file. Shortcuts can have their icons changed by right-clicking them, and hitting Change Icon.
__________________
"I'm afraid you're guilty of thought-crime. Don't bother getting the door, we'll let ourselves in..."
<Donate to DrumsUI> < [DrumsUI] Updater > < [DrumsUI] Full Interface> < Drumstix42 on Twitch.tv
>
Reply With Quote