gsqlcmd Command-Line Service Options Overview
/echo
Use this option to print command line arguments to the console.
/echoInputFileName
Use this option to print input file names to the console.
Example:
gsqlcmd convert input\*.csv data.csv /echoInputFile
/echoOutputFileName
Use this option to print output file names to the console.
Example:
gsqlcmd download @sitemap.txt *.htm /echoOutputFile
/echoPostData
Use this option to print the actual value of the /postData option to the console.
Example:
gsqlcmd download https://localhost/crm/contacts /method=POST /postData=contact.json
/echoUrl
Use this option to print downloaded URLs to the console.
Example:
gsqlcmd download @sitemap.txt *.htm /echoUrl
/echoWidth=<width>
Use this option to set the maximum width of the echo lines.
Example:
gsqlcmd download @sitemap.txt *.htm /echoUrl /echoWidth=80
/hideWindow
Use this option to hide the console window during command execution.
/minimizeWindow
Use this option to minimize the console window during command execution.
/openOutput
Use this option to open the output file after processing.
Example:
gsqlcmd exec db "SELECT * FROM dbo.cashbook" cashbook.htm /openOutput