Use batch trick to detect wget.exe in path
Opened this issue · 0 comments
Deleted user commented
So I don't have to copy wget.exe to the directory if it already exists -
for %i in (wget.exe) do @echo. %~$PATH:i
will return a full path to wget.exe if it is found
from there you could either copy that wget.exe to the working directory, or use it in your scripts.
Edit: credits to http://stackoverflow.com/a/519429/229631