Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

IE in command line 1

Status
Not open for further replies.

k357189

IS-IT--Management
Joined
Jan 18, 2011
Messages
2
Location
MU
Hello,

am trying to open a site in command prompt using:
START iexplore.exe "
everything works fine when I copy paste in CLI but when I use this command in a batch file it opens (without the %3 and %2) and as such I get the error "URL not found"

Can anyone help?

Cheers, KF
 
% is a significant character in batch files. Use %% for each %.
 
Thanks webrabbit,

it works perfectly!!!!

Cheers, KF
 
Personally I'd avoid using ":" in the URL in the first place.
Of course not a lot you can do about it if it's not your site.

Robert Wilensky:
We've all heard that a million monkeys banging on a million typewriters will eventually reproduce the entire works of Shakespeare. Now, thanks to the Internet, we know this is not true.

 
Sorry should've of posted a useful link what all these %3A %2F's are


Robert Wilensky:
We've all heard that a million monkeys banging on a million typewriters will eventually reproduce the entire works of Shakespeare. Now, thanks to the Internet, we know this is not true.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top