You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 14, 2023. It is now read-only.
David Losantos edited this page Feb 1, 2021
·
5 revisions
Downloading
Downloading a script is fairly easy, head over to it in the repo, and hold ALT while clicking on 'Raw'. You can find this button when opening a file through the branch file manager at the main repo page, or using the links in the README.
The download should start automatically. If you get a warning telling that the file is dangerous, make sure that you select 'Keep'. (I swear, my scripts aren't dangerous lol).
NOTE: Some files may have special characters inside. If you download them in this way, you will get errors when trying to execute the scripts due to encoding errors. For downloading them correctly, follow the first step, but just click on 'Raw' (Instead of holding ALT), and copy all the content of the file (CTRL + A to select everything). Then, create a text file with the name of the script, and paste everything inside. After that, it should work as intended.
Installing
This scripts need to be called from an already open instance, so in order to do so, we need to open our CLI (CMD or PowerShell), and CD to the directory where the script is located, then, just running the name of it will execute it.
If you want to be able to execute this scripts anywhere (which is common), you will need to move them to a folder specified in the PATH environment variable (For example, C:\Windows). Note that you can add any folder in your system to PATH, here is a webpage explaining how to do so.
Usage
The usage of this scripts isn't anything really special, it basically works like a built-in command (kind-of) with parameters. To display the help, type in the name of the script followed with /?. Feel free to ship it with your own scripts, you can of course call it from other batch files, but you will need to use CMD /C after running it, so it runs in a subshell.