Jump to content
Sign in to follow this  
LilKitsune

& Problem

Recommended Posts

LilKitsune

When I do like..

$DownloadURL = "BlahBlah&BlahBlah&Blah"

It removes the & from it.

Anyone know how to fix this?

Share this post


Link to post
Share on other sites
Nahuel

Using what function? InetGet()?

Share this post


Link to post
Share on other sites
LilKitsune

Well I used a inputbox to see if it was putting the & and they weren't there but I was using a run command to open internet explorer.

The $Download was just a example. X.X

Share this post


Link to post
Share on other sites
Nahuel

Well I see them perfectly.

$DownloadURL = "BlahBlah&BlahBlah&Blah"

MsgBox(0,"",$DownloadURL)

Share this post


Link to post
Share on other sites
Paulie

Well I used a inputbox to see if it was putting the & and they weren't there but I was using a run command to open internet explorer.

The $Download was just a example. X.X

Show us your script. :)

Share this post


Link to post
Share on other sites
LilKitsune

What does entering &s in a command line do?

like cmd /c start http:\\bored.com\search?sort=s&etc...

Edited by LilKitsune

Share this post


Link to post
Share on other sites
therks

If that's supposed to be a web address, your slashes are backwards. Probably doesn't solve your issue, just an observation.

Share this post


Link to post
Share on other sites
PsaltyDS

What does entering &s in a command line do?

like cmd /c start http:\\bored.com\search?sort=s&etc...

In the command shell the ampersand redirects the STDOUT and/or STDERR streams. For example "2>&1" redirects STDERR to STDOUT.

It's a special character, so if you want it to be part of a parameter, put it inside double quotes.

:)

Edited by PsaltyDS

Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×