File | Date | Author | Commit |
---|---|---|---|
bin | 2018-12-07 | Jahwi | [11609a] updated list |
curl | 2018-11-24 | jahwi | [09ac5e] Add files via upload |
docs | 2018-12-07 | Jahwi | [11609a] updated list |
upgrade | 2018-12-05 | Jahwi | [a9b5de] Update upgrade.bat |
.gitignore | 2018-12-04 | Jahwi | [d378c1] updated list function |
LICENSE | 2018-11-22 | jahwi | [25c761] Initial commit |
README.md | 2018-12-08 | jahwi | [34283a] Update README.md |
bget.bat | 2018-12-07 | Jahwi | [11609a] updated list |
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.
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
Run BGET -help -doc
to get a comprehensive list of Bget's switches.
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:
BGET -get -usejs test
BGET -update -usevbs test
BGET -pastebin -useps 1wsBxRs4
BGET -list -server -usebits
BGET -upgrade -usecurl
BGET -info -usejs test
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]