- Introduction
- Features
- Running Bget
- Switches
- Methods
- Jscript -JS
- Visual Basic Script -VBS
- Powershell -PS
- BITSAdmin -BITS
- CURL
Bget is a batch-file command-line tool for handling Windows scripts. It is built to help script writers and users alike easily download, update and remove scripts. It’s built for scripters, by scripters.
- 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. Choose from over 100 scripts currently indexed by Bget.
- 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.
- 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.
- Easily remove scripts: Don’t like a script you downloaded? Easily remove it with Bget. One command and it’s buh-bye script.
- 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.
- Bget also allows you to list all scripts on the server and list downloaded scripts on the local computer.
- Upgrade feature: Bget also updates itself so you always stay up-to-date.
- Multiple download methods: Bget has many ways to get a script. These are: Jscript, VBScript, Powershell, BITSAdmin and CURL.
A typical Bget command looks like this:
Bget [-switch] [-method] [ARGUMENT]
Here’s an example:
Fetching a script named test
from the server. The easiest way to do this would be:
BGET -get test
You should open a Command Prompt window in Bget's path before running any of the commands. Optionally, you could also add Bget's path as an environment variable.
Run BGET -help -doc
to get a comprehensive list of Bget's switches.
Bget’s ‘methods’ are the download methods for grabbing resources from Bget's script repository. There are currently 5 methods:
- The JS method: It uses a JS download script.
- The VBS method: Uses a download script written in VBS.
- The PS method: uses Powershell to download resources.
- The BITS method: Uses bitsadmin to download resources. It is not compatible with the Pastebin switch.
- The CURL method: Uses curl to download resources.
Usage:
BGET [-switch] [-method] [script]
Where the methods are: -usejs, -usevbs, -useps, -usebits, -usecurl.
Examples:
BGET -get -usejs test
BGET -update -usevbs test
BGET -pastebin -useps 1wsBxRs4
BGET -list -server -usebits
BGET -upgrade -usecurl
BGET -info -usejs test