By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

Is there a way to urlencode strings in v10?

Hello.. I'm looking for a way to properly urlencode urls as the normal behaviour of these kinds of strings when containing certain chars sometimes results in bad consequences (and sometimes unexplained seriously bad consequences).

I've been trying to use copy to retrieve a webpage with the "I'm feeling lucky" thingy, and while constructing this I did have some problems making TCC not treating it as several commands.

One issue, which I really can't explain is that it suddenly started to delete
the entire D: drive, and this without any del(ete) command or parameters to force it to do so in sight.

Currently I use:
set urltoget=%@REPLACE[ ,+,http://www.google.com/search?q=%%22%@UNQUOTE[%1]%%22+site:animenewsnetwork.com^&num=10^&complete=0^&btnI=Jeg+prøver+lykken]
copy "%urltoget" xx.htm
to retrieve the page (which apparently works properly).

Similar threads