%1 variable is cut off after "," character

Report & discuss bugs found in SABnzbd
Forum rules
Help us help you:
  • Are you using the latest stable version of SABnzbd? Downloads page.
  • Tell us what system you run SABnzbd on.
  • Adhere to the forum rules.
  • Do you experience problems during downloading?
    Check your connection in Status and Interface settings window.
    Use Test Server in Config > Servers.
    We will probably ask you to do a test using only basic settings.
  • Do you experience problems during repair or unpacking?
    Enable +Debug logging in the Status and Interface settings window and share the relevant parts of the log here using [ code ] sections.
Post Reply
BlindFish
Newbie
Newbie
Posts: 2
Joined: December 31st, 2020, 10:55 am

%1 variable is cut off after "," character

Post by BlindFish »

Hello,

I try to automate some post-processing work on a Win10 system.

Therefore a script tries to access the final job directory which is provided by the %1 variable.

In every case where the job name contains a "," (comma) character, the path stored in %1 seems to be cut off.

If you need more info, let me know.

User avatar
safihre
Administrator
Administrator
Posts: 4131
Joined: April 30th, 2015, 7:35 am
Location: Switzerland
Contact:

Re: %1 variable is cut off after "," character

Post by safihre »

In that case I would use the environment variables.
I could make a special exception for this to handle it, but environment variables are more reliable anyway.
If you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate

BlindFish
Newbie
Newbie
Posts: 2
Joined: December 31st, 2020, 10:55 am

[SOLVED] Re: %1 variable is cut off after "," character

Post by BlindFish »

Thanks for this helpful hint. I just stopped reading through the wiki page after i found the first thing which i thought would do the job. Works fine now.

User avatar
safihre
Administrator
Administrator
Posts: 4131
Joined: April 30th, 2015, 7:35 am
Location: Switzerland
Contact:

Re: %1 variable is cut off after "," character

Post by safihre »

Added a bigger "NOTE" for other users to the wiki now :P
If you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate

Post Reply