Hello,
I have a command line to execute in a dos prompt, but my command line as a quote and double-quote, how can I execute it?
Line : osql -E -S .SQLEXPRESS -h-1 -Q "SET NOCOUNT ON; SELECT 'Version=', CONVERT(NVARCHAR,SERVERPROPERTY('productversion'))"
My function to execute the command line :
Func DosCommand($command)
Local $foo, $line, $temp
$foo = Run(@ComSpec & " /c " & $command, @ScriptDir, @SW_HIDE, 2); $STDOUT_CHILD = 2 De Constants.au3
While 1
$line = StdoutRea