Here was my solution, in case others have this problem. I used setup and the sqlcmd.exe utility to call the SQL statement from within the batch file. So, it looks like this:
def setup system("sqlcmd.exe -i C:\\myproject\\CleanDatabase.sql -e -b -S x -U x -P x") end Cheers, Jason --------------------------------------------------------------------- Posted via Jive Forums http://forums.openqa.org/thread.jspa?threadID=6700&messageID=19431#19431 _______________________________________________ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general