I've seen posts (like this one: https://community.alteryx.com/t5/Data-Preparation-Blending/Use-Special-character-in-Formula-tool/td-p/27231) that suggest that in order to retain or export quotation marks as part of a text string, you precede them with a single quote. (So to get "AAA" you use '"AAA"' in your formula.) Only in my instance, I'm attempting to create dynamic content to be written to a batch file, and I need to parse a field name into the string. The juxtaposition of the field name within the quotes I'm commenting seem to be what's causing me problems. Has anyone done this before? What I'm attempting to write to the batch file is this:
move /y \\filepath\data\public\folder\Rebates_Processing\UploadClaims\*ABC*.xlsx "\\filepath\data\public\folder\Rebates_Processing\Folder1\[Passthru Value]\ARCHIVE"
The quotes are needed around the second path so as to handle instances where the passthru value has spaces in it.
The workflow successfully writes content to the batch file, but there seem to be extra quotes around some of the values which cause it to fail.
In my formula, I've used MANY iterations with slightly different quotes, but I'm thinking it should be something like this:
"move /y \\filepath\data\public\folder\Rebates_Processing\UploadClaims\*ABC*.xlsx '"\\filepath\data\public\folder\Rebates_Processing\Folder1\"+[Passthru Value]+"\ARCHIVE"'"
Has anyone successfully done this? I'd appreciate any feedback or suggestions! (This is such a complex workflow that to have it fail on something so small as a quotation mark is infuriating!
)
Thanks...