I have got a script like this:
Code: Select all
run "PowerShell -Command Start-Process PowerShell -verb runAs -ArgumentList '-NoExit', '-Command', 'cd <curpath>'",,,0
But I don't know how to wrap it up with quotes, have tried some different approaches to no avail...
Thanks!
EDIT: I'm a stubborn guy who bangs my head over this for too long, a cautionary tale, but I did figure it out:
Code: Select all
run "PowerShell -Command Start-Process PowerShell -verb runAs -ArgumentList """"""-NoExit"""" """"-Command"""" """"cd '<curpath>'""""""",,,0