Hi all... (and sorry for my English !!)
I have migrated my backup server and I have now some errors with these scripts..
But they were all operationnal before...
I think these errors come from the usage of double quotes (")...
Example of a script (yes I use Unix commands under Crosoft !!!) :
clui.cmd show jobs SnapTreso instances -c | grep SnapTreso | grep PAUSED | cut -d"," -f1 > C:\temp\InstanceSnapTreso.txt
for /F "usebackq delims==" %%i IN (`type C:\temp\InstanceSnapTreso.txt`) do @clui.cmd set job %%i continue
The second line works and the first line works if I suppress the "cut" command... So how can I do to be able to use my cut command ?
This script runs well if I launch it directly...
Thanks in advance...