schtasks /create /S rcsitms /tn SchTaskName /tr "sqlcmd.exe -S server\instance -E -d Operations -Q \""execute SQLProcedure\"" " /sc DAILY /st 02:00:00 /sd 09/09/2014 /ru domain\srvcAcct /rp abc123
You need to double the internal double-quotes..
'컴퓨터관련' 카테고리의 다른 글
powershell -command quotes, escape by backslash, &"" in powershell...펌 (0) | 2016.05.08 |
---|---|
powershell escaping quotes, backtick...펌 (0) | 2016.05.08 |
powershell run dos commands...펌 (0) | 2016.05.07 |
스포티지 1.7 실연비 얘기...펌 (0) | 2016.05.04 |
네이버밴드 초대하기...카카오톡...펌 (0) | 2016.05.04 |