Page 1 of 1

%1 variable is cut off after "," character

Posted: December 31st, 2020, 11:01 am
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.

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

Posted: December 31st, 2020, 12:29 pm
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.

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

Posted: January 1st, 2021, 7:54 am
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.

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

Posted: January 1st, 2021, 8:41 am
by safihre
Added a bigger "NOTE" for other users to the wiki now :P