Can't execute a dos command
Posted: Wed Nov 21, 2018 4:49 pm
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
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