artemis-portable/assets/read.bat

10 lines
277 B
Batchfile
Raw Normal View History

2023-11-29 02:09:12 +00:00
@echo off
2024-03-06 09:49:24 +00:00
REM https://stackoverflow.com/a/16116676
SETLOCAL EnableDelayedExpansion
for /f "Delims=" %%x in (.\scripts\database-tasks-wrapper.ps1) do set "script=!script!;%%x"
SET "args=%*"
SET "args=%args:"=\"%"
powershell -noprofile -command "& { %script% }" read.py %args%