@echo off set SRCPATH=%~dp0 cd "%SRCPATH:~0,-1%" powershell.exe -ExecutionPolicy ByPass .\WindowsUpdates.ps1