Hi There
So in the external node
ive put "$FFin$" "$FFout$" "BaseDir"
Is the "BaseDir" the directory where i want the folder to be created, or is that the directory where the script lives?
Thanks
The only thing I can think of is the bat file being edited. This is the text from the bat file I'm using:
:: Save_wDir.bat - for FF Core external process
:: save FF Core output file
:: Call with "$FFin$" "$FFout$" "BaseDir"
echo %date% %time% %1 %2 %3 %4
setlocal
set BaseDir="%3"
set FileName="%~n1.pdf"
set NumPath="%FileName:~0,6%"
mkdir %BaseDir%\%NumPath%
copy %1 %BaseDir%\%NumPath%\"%FileName%"
Hi David
Thanks for responding, i thought i would go back to basics so what i did was at the end of the workflow i added the external node, as per the screenshots added "$FFin$" "$FFout$" "C:\Temp", i had to create the Temp folder on my c drive, so what happened was that in C Temp it created a folder called temp, it put the file in there, but it renamed the file temp as well, as per screenshot, i think i must be missing something simple here.
Rob
Hi David
Thanks for responding, i thought i would go back to basics so what i did was at the end of the workflow i added the external node, as per the screenshots added "$FFin$" "$FFout$" "C:\Temp", i had to create the Temp folder on my c drive, so what happened was that in C Temp it created a folder called temp, it put the file in there, but it renamed the file temp as well, as per screenshot, i think i must be missing something simple here.
Rob
The bat files work for me. I submitted a job "atlanta.pdf" which is placed in a created directory "atlant" (see screensnaps). I had to change one line in the bat file to enable 6 characters to print: set NumPath="%FileName:~0,7%" . I know there is a problem with submitting "photos" on the website. You can submit videos instead.
Hi Johannes
I only just noticed there had been a reply to this, i didnt get a notification, i followed your instructions, this is what happens...
A folder is created in the main directory called by the first part of the directory name , not by the first 6 characters of the filename and the file is not placed in it.
So The diirectory is called Hi Res Waiting Approval
The folder created is called Hi
The filename 513602_Interact Pro SME A5 Flyer_PQ.pdf
so it should create a folder in Hi Res Waiting Approval called 513602
I dont know how to put a screenshot on here that would explain it a bit better.
Any help appreciated
Thanks
Rob
Hi Rob,
in my opinion you need to use an external node and a batch file to create a directory (with the first 8 characters of the file name) and to place the PDF in this directory. I hope you have the FreeFlow Core Advanced Automation license active, this is needed to find the External node...
So instead of using the "Save" node you just use the "External" node, upload the batch file attached to this post and configure the parameters. To make it easier I created a short document describing the process.
I am interested to hear if this was useful and if you can use it.
Johannes
My recommendation for debugging/writing the external script is to contact the Xerox Solutions Enablement Team.
@Rob Foster wrote:Hi There
We are moving from Odystar to Freeflow Core, our system at the moment (not set up by writeandgood i might add) allows you to create a Low Res File and a High Res File and then places them in a folder. We rename all our print files with the first 6 characters being the job number of the job. When Odystar creates the low res and the High Res Files it also creates a folder for each using the first 6 characters of the filename as the name of the folder, this is apparently possible in FreeFlow core with a script, im wondering if anyone could help me achieve it?
Thanks
Rob
script doesn't work. What can i do?
Hi eric
Thats really helpful, thank you, i have to confess im out of my depth a little here, but i will study everything youve pointed me at and report back with any issues
Thanks Again
Rob