컴퓨터관련

powershell escaping quotes, backtick...펌

맘편한넘 2016. 5. 8. 06:37

Use a backtick ` to escape your special double quote, so this:

powershell -noexit -command $str = \"hello '123' world\"; write-host $str

becomes this:

powershell -noexit -command $str = \"hello '123'`” world\"; write-host $str