Zuntan03/LatentCoupleHelper

not working ;-(

Closed this issue · 5 comments

When I open "LatentCoupleHelper.bat" it open and close immediately.
Any idea how to fix this?
I am on latest Windows 11 Pro

If you add the word pause to the last line of the bat file and run it, you may see an error.

LatentCoupleHelper.bat

@echo off
PowerShell -Version 5.1 -ExecutionPolicy Bypass -File "%~dp0LatentCoupleHelper.ps1"
pause

'PowerShell' is not recognized as an internal or external command,
operable program or batch file.
Press any key to continue . . .

Powershell should be available by default in Windows 11, but it does not seem to be available in your environment.

If the problem of Powershell not being available in your environment can be resolved, it may become available.

Yes.. I added in Environment Variables "C:\Windows\System32\WindowsPowerShell\v1.0" and now it is working ;-)

Thank you!!