Subject Re: [ib-support] ISQL Command-line questions
Author Ivan Prenosil
> I'm trying to write a quick little BAT file under Windows to apply
> foreign keys by running isql. It doesn't seem to work right.
>
> In side the batch file I'm trying (without 's):
> 'isql -i C:\Databases\FKs\ApplyFKs.SQL -o
> C:\Databases\FKs\ApplyFKs.log'
>
> I gives me a bunch of errors on screen, but the ouput file
> (ApplyFKS.log) is empty. I know the script works as I have run it as
> a script before.

Use Merge switch (ISQL -M ...) to redirect error messages to standard output.

Ivan
http://www.volny.cz/iprenosil/interbase