EDIT: Ehh... I figured it out. I had to escape the & characters by preceding them with a ^.
_____________________________________________
Hi.
doesn't work, it refuses to echo to file.
However, it works if it's enclosed with quotes:
But then it outputs those enclosing quotes, in addition to what I want...
How can I write to file, omitting the enclosing quotes?
_____________________________________________
Hi.
Code:
echo CreateObject("Wscript.Shell").Run """" & WScript.Arguments(0) & """", 0, False>bleh.vbs
doesn't work, it refuses to echo to file.
However, it works if it's enclosed with quotes:
Code:
echo [COLOR=Red]"[/COLOR]CreateObject("Wscript.Shell").Run """" & WScript.Arguments(0) & """", 0, False[COLOR=Red]"[/COLOR]>bleh.vbs
But then it outputs those enclosing quotes, in addition to what I want...
How can I write to file, omitting the enclosing quotes?