But that still does not make this WinSCP question.
But anyway, you pass variables to the argument as with any other string in PHP:
But anyway, you pass variables to the argument as with any other string in PHP:
exec("c:\WINDOWS\system32\cmd.exe /c START C:\inetpub\.....\sync.bat $variable1 $variable2");