4 lines
243 B
Batchfile
4 lines
243 B
Batchfile
@echo off
|
|
cd /d "%~dp0"
|
|
powershell -NoProfile -ExecutionPolicy Bypass -Command "$args = $MyInvocation.BoundParameters.Values; $c = Get-Content -Path '.\start-server.ps1' -Encoding UTF8 -Raw; Invoke-Expression $c" %*
|
|
if %ERRORLEVEL% NEQ 0 pause |