11 lines
381 B
Batchfile
11 lines
381 B
Batchfile
@echo off
|
|
SETLOCAL EnableDelayedExpansion
|
|
echo %cmdcmdline% | findstr /i /c:"%~nx0" >NUL && set iscommandline=1
|
|
echo %PSModulePath% | findstr /i /c:"%USERPROFILE%" >NUL && set ispowershell=1
|
|
cd /D "%~dp0"
|
|
|
|
@powershell -NoProfile -ExecutionPolicy Bypass -Command .\scripts\extract-elx-internals-all.ps1
|
|
|
|
IF DEFINED iscommandline IF NOT DEFINED ispowershell pause
|
|
ENDLOCAL
|