Echo an enter

May 31, 2009 at 13:42:47
Specs: Windows Vista
My problem today is I am trying to create this code

echo do x=msgbox("hi") loop>>test.vbs

It creates it successfully but doesnt open it.

Now i know the mistake. It must be like this for the vbs to work..

do
x=msgbox("hi")
loop

How can i make it echo in that type of a pattern putting those "enters" in it?


See More: Echo an enter

Report •


#1
May 31, 2009 at 14:41:25
(echo.do&echo.x=msgbox^("HI"^)&echo.loop) > test.vbs


Report •

#2
May 31, 2009 at 14:49:43
Thanks alot. That seemed complicated. Thanks once again!!

Report •

Related Solutions


Ask Question