Hi
Forgive me for being so new, and not knowing very much, but I am wanting to see if someone can assist me with how to do a script. I can do it with Javascript, by using the "\n" but that does not seem to work in a VBScript option. Can anyone help me with this?
What i am trying to do, and I have searched for hours on how to do this without success... is to create a script that echo's two lines in the same message...
example:
wscript.echo "this is line one." & "this is line two."
in a single messagebox, the first line: This is line one. completes and like a carriage return to have the second line beneath the first line say: this is line two.
I have tried the following but they do not work...
Thank you,
Forgive me for being so new, and not knowing very much, but I am wanting to see if someone can assist me with how to do a script. I can do it with Javascript, by using the "\n" but that does not seem to work in a VBScript option. Can anyone help me with this?
What i am trying to do, and I have searched for hours on how to do this without success... is to create a script that echo's two lines in the same message...
example:
wscript.echo "this is line one." & "this is line two."
in a single messagebox, the first line: This is line one. completes and like a carriage return to have the second line beneath the first line say: this is line two.
I have tried the following but they do not work...
Code:
wscript.echo "this is line one" vbCR
"this is line two."
Code:
LF = chr(10)
wscript.echo ("this is line one"), LF ("this is line two")
Code:
wscript.echo "this is line one." /n "this is line two."