renaming output from a xml
Posted: Sat Jan 27, 2018 7:29 am
Congratulation for FFASTrans. I'm using it in a broadcast enviroment and I don't miss other expensive transco software!
My scenario: I want to rename the processed file filenameID to filenameID_Theme. The Theme part comes from a xml filenameID.xml I process
whith xmlscarlet.
My last attemp was
1.use command to execute a .bat passing s_original_name as paremeter: %comspec% /c ""D:\input\xtractTheme.bat" "%s_original_name%""
2. xtractTheme.bat--> xml sel -N x="http://iptc.org/std/nar/2006-10-01/" -T -t -v "//x:slugline" %1.xml >Theme.txt
I'm stucked in this part-->Process exited with error code:3. No Theme.txt was created (the .bat is correct). I think the parameter %s_original_name% doesn't arrive
3. The last part i was thinking to use is use the read() function at Theme.txt
I need a suggestion to achieve it or use other method
Thank you!
My scenario: I want to rename the processed file filenameID to filenameID_Theme. The Theme part comes from a xml filenameID.xml I process
whith xmlscarlet.
My last attemp was
1.use command to execute a .bat passing s_original_name as paremeter: %comspec% /c ""D:\input\xtractTheme.bat" "%s_original_name%""
2. xtractTheme.bat--> xml sel -N x="http://iptc.org/std/nar/2006-10-01/" -T -t -v "//x:slugline" %1.xml >Theme.txt
I'm stucked in this part-->Process exited with error code:3. No Theme.txt was created (the .bat is correct). I think the parameter %s_original_name% doesn't arrive
3. The last part i was thinking to use is use the read() function at Theme.txt
I need a suggestion to achieve it or use other method
Thank you!