curl-users
Aw: Re: curl with -w option run as batch
Date: Tue, 2 Apr 2013 14:59:16 +0200 (CEST)
>> Without the -w option, the command worked fine from cmd directly and as
>> batch, as well. So the problem seems to be the -w "%{time_total}". I run it
>> on Windows 7, but I don't know, if that's important here.
>>
>> Can you see the mistake where I can't?
>
>The character '%' needs to be escaped in Windows/DOS batch files. You escape a
>% by writing two of them like %%...
>
>See: http://www.robvanderwoude.com/escapechars.php
It works now, thanks!
> --
/ daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-users[http://cool.haxx.se/list/listinfo/curl-users]
FAQ: http://curl.haxx.se/docs/faq.html[http://curl.haxx.se/docs/faq.html]
Etiquette: http://curl.haxx.se/mail/etiquette.html[http://curl.haxx.se/mail/etiquette.html]
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-users
FAQ: http://curl.haxx.se/docs/faq.html
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2013-04-02