none
Retrieving sqlservr.exe result

    Question

  • Hi,

    In my Windows Server 2008(64) + SQL Server 2008(64), how do I grep all the text while runnig  the sqlservr.exe command under the dos prompt?
    Thanks for help.

    Jason

    Monday, September 23, 2013 3:00 AM

Answers

  • to save output to a file using dos (actually "shell"/"CMD" interface, as you dont have real "dos" anymore in win 7/8/2008/2012... and in the old dos too) is done using >>

    like this (let's say we want to save the output of the command "dir")

    dir >> MyDir.txt

    Have Fun :-)


    signature

    • Proposed as answer by Saeid Hasani Monday, September 23, 2013 4:29 AM
    • Marked as answer by JasonHuang8888 Monday, September 23, 2013 8:26 AM
    Monday, September 23, 2013 3:34 AM
    Moderator