Quick Bukkit installs using BATCH! Check it out!

Discussion in 'Bukkit Tools' started by Taketheword, Aug 3, 2012.

Thread Status:
Not open for further replies.
  1. Offline

    Taketheword

    So I was experimenting with making an easier way to download lastest Bukkit RB and latest Bukkit Dev. I found a great solution using batch (.bat) files!
    Difficulty: Medium.
    1. Make sure you're showing file extensions! This is neccessary to create the .bat file. If you don't know how this may help: http://support.microsoft.com/kb/865219

    2: This is the hardest part. For some this may be easy, but only if you already understand what you are doing! In simple words, we are adding a PATH to our system variables. This is required to run the batch file properly.

    2-1: If you already know how to add a PATH read this! Go to your systems 'Enviromental Variables' and add a new variable. Enter 'IEXPLORE' for the variable name. In the variable path enter 'c:\program files\internet explorer\iexplore.exe'. Save and exit and skip to part 3.

    2-2: If you don't know how to add a PATH read this! Click start menu. Go to Control Panel. In Control Panel, select System. Go to 'Advanced' tab (for windows 7 users select 'Advanced system settings' on the left side of the window) . Click 'Enviromental Variables'. Under System Variables click 'New'. For variable name enter 'IEXPLORE' without quotations. For variable path (windows 7 users will see 'variable value') enter 'c:\program files\internet explorer\iexplore.exe' without quotations. Move on to part 3.
    For additional help on PATH's and System Variables this may help: http://support.microsoft.com/kb/310519 and for Windows 7 users: http://www.itechtalk.com/thread3595.html

    3: Create a text file on your desktop or in a selected folder and name it something like 'Download Bukkit RB.bat' (make sure to add .bat at the end)!
    4: This should be the same for all users! Edit the batch file using your favorite text editor. Place this code into the batch file:
    Code:
    cd c:\program files\internet explorer
    iexplore cbukk.it/craftbukkit.jar
    To download the latest dev build enter this code into the batch file:
    Code:
    cd c:\program files\internet explorer
    iexplore dl.bukkit.org/latest-dev/craftbukkit-dev.jar
    5: Save the file and there you go! Just run (double click) the file to do a direct download of the latest craftbukkit RB and Dev!

    This may seem like alot of work for such a little thing but it is handy and this does not take long if you already understand a couple of things.

    I would appreciate it if people who understand this process and tried it could give me their thoughts and comments! :) Also if you need any help just post here!
     
Thread Status:
Not open for further replies.

Share This Page