Is there a way to urlencode strings in v10?

May 30, 2008
67
1
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:
Code:
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
Thread starter Title Forum Replies Date
Phileosophos The @urlencode function doesn't seem to URL encode Support 16
P Concatenating strings in a BTM Support 3
Steve Pitts WAD @MD5 returns incorrect results for strings Support 2
fpefpe How to? Comparing strings with blanks Support 5
MickeyF how to compare version strings Support 11
A Inconsistent treatment of strings with backtiks Support 1
S FFIND and quoted strings Support 4
M Concatenating blanks to strings???? Support 2
K Processing strings with % characters? Support 2
Stefano Piccardi setdos /x-4 affects alias expansion v10 vs v13 Support 8
B DIR /Z Causes GPF in TCMD V10 B50 Support 5
vefatica Updating v10: error wrong file size Support 2
Roedy Cannot have both v10 and v11 Support 7
S V10 B68 problems with ftp Support 1
vefatica v10 Shift-Tab doesn't complete backwards Support 2
S V10 debugging problems Support 9
rconn Take Command/LE and TCC/LE v10 build 57 uploaded Support 0
rconn Take Command v10 build 57 uploaded Support 0
J V10 "Configure tab toolbar" issues Support 3
rconn Take Command/LE v10 build 56 uploaded Support 3
rconn Take Command v10 build 56 uploaded Support 11
C TCMD V10 portable Support 3
Charles Dye Crash in TCC.EXE v10.0.0.49 Support 0
J v10 GPF when calling complicated batch files Support 5
rconn Take Command v10 build 49 uploaded Support 0
rconn Take Command / TCMD/LE / TCC/LE v10 release build 48 uploaded Support 2
rconn Take Command / TCMD/LE / TCC/LE v10 beta build 47 uploaded Support 5
rconn Take Command / TCMD/LE / TCC/LE v10 beta build 46 uploaded Support 9
rconn TCMD/LE and TCC/LE v10 build 44 uploaded Support 2
rconn Take Command v10 beta build 44 uploaded Support 1
vefatica Installing both v9 and v10 Support 1
rconn Take Command / TCMD/LE / TCC/LE v10 beta build 43 uploaded Support 9
Peter Bratton v10 IDE / bdebugger Support 10
rconn Take Command v10 beta build 41 uploaded Support 6
rconn Take Command v10 beta build 40 uploaded Support 3
rconn Take Command v10 beta build 39 uploaded Support 18
dcantor Executable file extensions in V10 b 38 Support 5
H IDE v10 questions Support 2
Fross Continue to have issues layout in v10 Support 11
S V10 questions Support 8
rconn Take Command v10 beta build 38 uploaded Support 0
vefatica TCC v10 finding its own icon? Support 4
rconn Take Command v10 beta build 37 uploaded Support 0
Fross CTRL-C in V10 Support 3
rconn Take Command v10 beta build 36 uploaded Support 0
rconn Take Command v10 beta build 35 uploaded Support 0
rconn Take Command v10 beta build 34 uploaded Support 23
S V10 Build 32 Upload Support 0
rconn Take Command v10 beta build 33 uploaded Support 9
H Is "Check for updates" supposed to work in v10? Support 1

Similar threads