?
Solved

open website from command window

Posted on 2003-02-25
3
Medium Priority
?
746 Views
Last Modified: 2012-06-27
Hi folks,

   anybody knows how to execute the following in a batch file

rundll32 url.dll,FileProtocolHandler http://www.google.com/search?hl=en&ie=UTF-8&oe=UTF-8&q=passing+%26+in+query+string+through+dos+command

    The problem for me here is, it ignores the things after "&". Can anybody tell me how to do this?

thank u
siva
0
Comment
Question by:ksivananth
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 86

Expert Comment

by:CEHJ
ID: 8016873
Did you trying double-quoting the last parameter?
0
 

Accepted Solution

by:
tjean earned 150 total points
ID: 8017646
You need to escape the & character. To do that use ^ so the commande line should be:
rundll32 url.dll,FileProtocolHandler http://www.google.com/search?hl=en^&ie=UTF-8^&oe=UTF-8^&q=passing+%26+in+query+string+through+dos+command
0
 
LVL 26

Author Comment

by:ksivananth
ID: 8022877
Thanks tjean, I tried the escape char '^', it just works fine!

Thank u so much!
Siva
0

Featured Post

Get real performance insights from real users

Key features:
- Total Pages Views and Load times
- Top Pages Viewed and Load Times
- Real Time Site Page Build Performance
- Users’ Browser and Platform Performance
- Geographic User Breakdown
- And more

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Java had always been an easily readable and understandable language.  Some relatively recent changes in the language seem to be changing this pretty fast, and anyone that had not seen any Java code for the last 5 years will possibly have issues unde…
This was posted to the Netbeans forum a Feb, 2010 and I also sent it to Verisign. Who didn't help much in my struggles to get my application signed. ------------------------- Start The idea here is to target your cell phones with the correct…
Viewers learn how to read error messages and identify possible mistakes that could cause hours of frustration. Coding is as much about debugging your code as it is about writing it. Define Error Message: Line Numbers: Type of Error: Break Down…
Viewers will learn about the different types of variables in Java and how to declare them. Decide the type of variable desired: Put the keyword corresponding to the type of variable in front of the variable name: Use the equal sign to assign a v…
Suggested Courses
Course of the Month9 days, 21 hours left to enroll

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question