Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.

error copying from batch to text file

vicki20julyvicki20july Posts: 3Member
i am trying to copy the line below to a new text file using batch file. The line is given below

objIEA.Navigate "http://"&WScript.Arguments(0)&"/video?session=3&alphabet=83&channel="&WScript.Arguments(1)&"&profile="& WScript.Arguments(2)

This is the line. what i did is something like this and i am getting error while executing batch file.

ECHO objIEA.Navigate "http://"&WScript.Arguments(0)&"/video?session=3&alphabet=83&channel="&WScript.Arguments(1)&"&profile="& WScript.Arguments(2) > test.txt

THe above command is giving me error. I want to copy the exact line shown above to a new file and in reality the new file will have .vbs extension. i mean the new file in reality should be test.vbs but it is not working for even test.txt

please help
Sign In or Register to comment.