Menu

Tree [34283a] master /
 History

HTTPS access


File Date Author Commit
 bin 2018-12-07 Jahwi Jahwi [11609a] updated list
 curl 2018-11-24 jahwi jahwi [09ac5e] Add files via upload
 docs 2018-12-07 Jahwi Jahwi [11609a] updated list
 upgrade 2018-12-05 Jahwi Jahwi [a9b5de] Update upgrade.bat
 .gitignore 2018-12-04 Jahwi Jahwi [d378c1] updated list function
 LICENSE 2018-11-22 jahwi jahwi [25c761] Initial commit
 README.md 2018-12-08 jahwi jahwi [34283a] Update README.md
 bget.bat 2018-12-07 Jahwi Jahwi [11609a] updated list

Read Me

Bget

CMD:

Bget screenshot

Powershell:

Bget powershell screenshit

Table of Contents

  1. Introduction
  2. Features
  3. Running Bget
  4. Switches
  5. Methods
    • Jscript -JS
    • Visual Basic Script -VBS
    • Powershell -PS
    • BITSAdmin -BITS
    • CURL
  6. Contact

INTRODUCTION

Bget is a batch-file command-line tool for handling Windows scripts. It is built to be a companion to those who write, use and maintain Windows scripts. It helps those who use scripts easily download, update and remove scripts. It’s built for scripters, by scripters.

Features

  1. Download scripts from the Bget server: These scripts are vetted and sorted by us. We’ve gone about curating some of the most interesting scripts we could find that we think would be interesting and useful to you as well.
  2. Download scripts from Pastebin: Pastebin has long been the coder’s friend, and so we added the ability to fetch scripts from Pastebin. These scripts are not pre-vetted however, but they offer the ability for fast code downloading without waiting for us to vet them.
  3. Update scripts: Rather than manually re-download the latest version of every script, Bget handles that for you, getting the latest version of any script you’ve downloaded.
  4. Easily remove scripts: Don’t like a script you downloaded? Easily remove it with Bget. One command and it’s buh-bye script.
  5. View script info: This allows you to see basic information about a script such as its name, author and description, allowing you to make an informed decision before downloading.
  6. Bget also allows you to list all scripts on the server and list downloaded scripts on the local computer.
  7. Upgrade feature: Bget also updates itself so you always stay up-to-date.
  8. Multiple download methods: Bget has many ways to get a script. These are: Jscript, VBScript, Powershell, BITSAdmin and CURL.

Running Bget

Captain Obvious: Bget is a command-line tool, so it needs to be run from the command line. A typical Bget command looks like this:
Bget [-switch] [-method] SCRIPT

Here’s an example:

Scenario: You want to fetch a script named test from the server. The easiest way to do this would be:

BGET -get -usecurl test

Switches

Run BGET -help -doc to get a comprehensive list of Bget's switches.

Methods

Bget’s ‘methods’ are the various ways through which Bget interacts with servers.
There are currently 5 methods:
1. The JS method: It uses a JS download script.
2. The VBS method: Uses a download script written in VBS.
3. The PS method: uses Powershell to download resources.
4. The BITS method: Uses bitsadmin to download resources. It is not compatible with the Pastebin switch.
5. The CURL method: Uses curl to download resources.

Usage:

BGET [-switch] [-method] [-script]

Where the methods are: -usejs, -usevbs, -useps, -usebits, -usecurl.

Examples:

  1. BGET -get -usejs test
  2. BGET -update -usevbs test
  3. BGET -pastebin -useps 1wsBxRs4
  4. BGET -list -server -usebits
  5. BGET -upgrade -usecurl
  6. BGET -info -usejs test

Contact

If you're having an issue with bget, would like to submit a script or just want to chat, contact us at batchget [at] gmail [dot com]