Command line error
EonBlue
Posts: 2 Bronze 1
So, I use this little script from a batch file for doing data compare. It works fine in 11.x.
However, 12 it does not. Below is the sample script and the error message.
del "D:out.log"
cd /d "C:Program Files (x86)Red GateSQL Data Compare 12"
SQLDataCompare.exe /Project:"%USERPROFILE%x v y.scp" /Options:d,is,iid,its,drd,t,ucc,ctf /Out:"D:out.log" /Synchronize
Error: Unable to create output file D:out.log. Error: Cannot redirect
output to file 'D:Toolsx.log' because the file already exists.
The program appears to hang. A blank output file is created where it didn't exist before.
Do I have something wrong with switches? Or maybe a bug?
Thank you.
However, 12 it does not. Below is the sample script and the error message.
del "D:out.log"
cd /d "C:Program Files (x86)Red GateSQL Data Compare 12"
SQLDataCompare.exe /Project:"%USERPROFILE%x v y.scp" /Options:d,is,iid,its,drd,t,ucc,ctf /Out:"D:out.log" /Synchronize
Error: Unable to create output file D:out.log. Error: Cannot redirect
output to file 'D:Toolsx.log' because the file already exists.
The program appears to hang. A blank output file is created where it didn't exist before.
Do I have something wrong with switches? Or maybe a bug?
Thank you.
Comments
Thanks for your post!
I have logged a support ticket for you and will email you shortly.
Product Support
Redgate Software Ltd.
E-mail: support@red-gate.com
Thanks for your patience.
I am pleased to tell you that we have fixed the issue you have in our latest release of SQL Compare.
Link to installer: ftp://support.red-gate.com/patches/SQLC ... 2.3340.zip
Let e know if this solves the issue for you?
Product Support
Redgate Software Ltd.
E-mail: support@red-gate.com