@echo off IF %1.==. GOTO USAGE powershell -command .\Download-AppxFromStore.ps1 %1 GOTO END :USAGE echo "usage: %0 " echo " HINT: use the browser URL!" echo " HINT: DO NOT use the storeapp URL!" echo. echo " Example: https://apps.microsoft.com/store/detail//" echo. :END