Escape every quote with `\"` and every backslash with `\\`
Escape every quote with
\" and every backslash with \\

RunAssystem("powershell -Command \"Start-Process \"cmd\" \"/c netstat\" -Verb RunAs\"");system("powershell -Command \\\"Start-Process \\\"cmd\\\" \\\"/c netstat\\\" -Verb RunAs\\\"");RunAs\\\"\"system("powershell -Command \\\"Start-Process \\\"cmd\\\" \\\"/c netstat\\\" -Verb RunAs\\\"\");