OSQL.EXE /n /S "servername" /E /dDBName /i "input script path" /o "output file path
Hope this helps
Thanks!!!
The_SQL_DBA
MCTS
"Quality is never an accident; it is always the result of high intention, sincere effort, intelligent direction and skillful execution; it represents the wise choice of many alternatives."