Code: Select all
:*:purge ::
runwait %comspec% /k curl -X PURGE %URL% ; <--- this clears the cache of a server that you think is serving you outdated data
return
Do I have to abandon comspec?
Code: Select all
:*:purge ::
runwait %comspec% /k curl -X PURGE %URL% ; <--- this clears the cache of a server that you think is serving you outdated data
return
Code: Select all
:*:purge::
RunWait, %ComSpec% /k d:\utils\curl.exe -V
Return
Code: Select all
URL := "www.google.com"
runwait %comspec% /k curl -X PURGE %URL%
return
Code: Select all
;-https://curl.se/docs/faq.html#What_is_cURL
curlx:="D:\M_GARRY\PROGRAMME_SA\CURL\curl-7.79.0-win64-mingw\bin\curl.exe"
url:="https://media.merriam-webster.com/soundc11/c/curl0001.wav"
;runwait,%comspec% /k %curlx% %url% -S -o curl0001.wav
runwait,%comspec% /k %curlx% -V
;---------------------------------------------------