Sqlcompare.exe doesn't write to file (/ScriptFile)

jhoganjhogan Posts: 9
edited October 15, 2012 11:52AM in SQL Compare Previous Versions
I recently installed SQL Compare V8.50.12.20 (x86) on a Windows Server 2008 R2 Standard x64 machine.

Everything seemed to be going okay but I don't seem to be able to use sqlcompare.exe to create script files.

From an Administrator Command Prompt I enter:
C:\Program Files (x86)\Red Gate\SQL Compare 8>sqlcompare /database1:myDb1 /database2:myDb2 /ScriptFile:"c:\temp\sf.sql" /force /v

The output sent to stdout is exactly what I would expect; it shows me the objects that are different between myDb1 and myDb2. However, the file c:\temp\sf.sql is not created.

c:\temp\ exists (as a directory) and the Everyone group was given full access to it (plus I can create files in that directory from DOS using the echo command). Does anyone know why the script file isn't being created?

Comments

Sign In or Register to comment.