Hello all,
I need to modify the "modified date" of files in a folder. The dos command works well and there is :
"copy /B /Y file.mov +"
But when I put this command in an executor node, no way (error code 1).
My command executor script is :
%comspec% /c "copy /B /Y "C:\Users\ctvf2avidtech2\Desktop\TEMP\*.*"+" (for all files in folder)
I tried with %comspec% /c "copy /B /Y "C:\Users\ctvf2avidtech2\Desktop\TEMP\CASTLE_221118_GENINT1.mov"+" (with a real file name)
I tired even with complete path in dos and works well.
Any idea?
Thanks
Cheers
Benjamin
Can't execute a dos command
Re: Can't execute a dos command
To test your command, i created a new empty workflow and insert the command executor component with this code an no other changes like checked anything.
%comspec% /c "copy /B /Y "C:\Users\my user\Desktop\test\*.*"+"
After saving the workflow and starting the component using rightlick-> submit file, the date modified was changed and i got success in the job monitor.
Is it possible you deal with a access right issue, e.g. UAC enabled and ffastrans running as Service using the System user?
%comspec% /c "copy /B /Y "C:\Users\my user\Desktop\test\*.*"+"
After saving the workflow and starting the component using rightlick-> submit file, the date modified was changed and i got success in the job monitor.
Is it possible you deal with a access right issue, e.g. UAC enabled and ffastrans running as Service using the System user?
emcodem, wrapping since 2009 you got the rhyme?
Re: Can't execute a dos command
Hello Encodem,
Thank you very much for your help, it's really possible you're right(it's the error message indeed "access refused"). I have now to find where is the issue.
Thanks again
Cheers.
Benjamin
Thank you very much for your help, it's really possible you're right(it's the error message indeed "access refused"). I have now to find where is the issue.
Thanks again
Cheers.
Benjamin