add batch script to call extract-elx tool

This commit is contained in:
2026-05-21 16:35:19 +02:00
parent 504bebc917
commit 8d5fd75ce8
2 changed files with 95 additions and 0 deletions
+18
View File
@@ -0,0 +1,18 @@
@echo off
echo %cmdcmdline% | findstr /i /c:"%~nx0" >NUL && set iscommandline=1
echo %PSModulePath% | findstr "%USERPROFILE%" >NUL && set ispowershell=1
cd /D "%~dp0"
echo.
@REM IF %* == "" echo "Module tag not specified."
@REM #set /p "ModuleTag=Insert module tag: "
@REM ) ELSE (
@REM #set "ModuleTag=%*"
@REM )
@powershell -NoProfile -ExecutionPolicy Bypass -Command .\scripts\extract-elx-internals.ps1 -ModuleTag %*
echo.
IF DEFINED iscommandline IF NOT DEFINED ispowershell pause