# Get full path of "webserver.py" script $script = $PSScriptRoot + "\webserver.py" # Move to export folder Set-Location "$PSScriptRoot\..\export\web" # Run the script python $script