Command line error
MrsFatherjack
Posts: 15 Bronze 3
Hi, I wonder if you can help. I'm trying to execute a data compare project from a command line and I'm getting the message:
The code I'm putting in the command line is:
c:\sqldatacompare /Project:"C:\Redgate\TestProject.sdc"
Any help would be gratefully received.
Thanks
'sqldatacompare' is not recognised as an internal or external command.
The code I'm putting in the command line is:
c:\sqldatacompare /Project:"C:\Redgate\TestProject.sdc"
Any help would be gratefully received.
Thanks
Comments
Thanks for your post. Assuming you are trying to run this as part of a scheduled job (i.e. in a batch file), the code in the batch file will need to look something like:
So, essentially you need to ensure that you specify the install path in the file.
HTH!
Pete
Red Gate Software Ltd
+44 (0)870 160 0037 ext. 8569
1 866 RED GATE ext. 8569
The /force switch overwrites any existing Differences.csv file that you have in that location. For a full list of switches available, you can CD to the install path and then run the following from the command line:
This should then create a file viewable in your browser of choice with a full list of switches.
HTH!
Pete
Red Gate Software Ltd
+44 (0)870 160 0037 ext. 8569
1 866 RED GATE ext. 8569
Red Gate Software Ltd
+44 (0)870 160 0037 ext. 8569
1 866 RED GATE ext. 8569