I am trying to make a basic post processing batch script for SABnzbd. I have read though the documentation, but when it comes to the environment variables I don't really understand how these can be used.
Can someone please try to explain how they can be used in a batch script. A simple example will probably help me a lot on my way.
By the way, the documentation says "On Windows, the requirement is that the script's extension is listed in your system's PATHEXT environment variable.". Does this just mean that SABnzbd.exe should be listen in PATH? Or am I missing something?
How to use post process enviroment variables in batch script on Windows
-
- Newbie
- Posts: 1
- Joined: February 29th, 2020, 5:57 pm
Re: How to use post process enviroment variables in batch script on Windows
Usually on Windows it should work out of the box to run bat scripts.
If I'm not mistaken you can just use:
%SAB_VARIABLE%
where of course VARIABLE should be replaced with the thing you wanna use!
If I'm not mistaken you can just use:
%SAB_VARIABLE%
where of course VARIABLE should be replaced with the thing you wanna use!
If you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate