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.

help with & and ^

masmithrpgmasmithrpg Posts: 1Member
I am trying to create a batch file programmaticly that will then execute an URL. The URL has parameters in it such as &username, &password etc.

Apparently the & is a special character(win xp) and as such i need to use the ^ to circumvent this. I think I'm on the right path to resolve this, but i can't figure out the combination of ^ for each parm.

here is what i want to do.
set URL=http://localhost/i/w/handler/handlerpage.aspx?
set URL=%URL%action=login
set URL=%URL%&UserName=mikey
set URL=%URL%&password=mypwd
set URL=%URL%&application=17
set URL=%URL%&idx_service_order_#=100277049

start %URL%

This is ultimately what i need to achive in my dos batch file.
i know i have to use the ^ to achive this, but can't figure out the correct combination.
Can someone please help me out with this.?
Let me know if you need more explanation

Thanks
Mike
Sign In or Register to comment.