I am fresh out of ideas. I have been struggling to get a | in a bat file from a button. DO wants to parse it as a internal command and will not literally write the pipe to generated my .bat file.
OK,
Well, I don't fully understand what's going on here,
but I'd like to learn.
I know the @ character turns echo off.
And to be quite honest I don't understand the use of the ^ character here at all.
The one thing I do know is that I've never had trouble using a pipe | in a button.
I use one quite frequently although it's now very obsolete.
At the time I needed a simple method to rename a Minolta Raw image to the form yyyy-mm-dd_hh-mm-ss based on exif data.
I used Exif Utils piped to a homemade command line program to accomplish this.
At the time Exif Utils could almost do it, but needed another rename to accomplish this.
Lucky for me at the time, I discovered that Exif Utils kept a Cout or something in their code.
Whatever it was, it was a line that made possible a simple pipe to my crude program.
Ohh, I see it a little better now.
It's really that the original problem in part was to import the character | to a text or batch file.
I can confirm that :
You would only see this problem in MS-DOS Batch-type buttons since it is DOS, not Opus, which is interpreting the | and needs it escaping with a ^ when you want a literal |.