-
Notifications
You must be signed in to change notification settings - Fork 181
Description
I have that bat:
@echo off
chcp 65001 >nul
echo %PATH% > C:\Users\mkafl\Desktop\sunshine_path.txt
echo %PATH%echo [1/5] Przełączanie na wewnętrzny wyświetlacz...
DisplaySwitch.exe /internalecho [2/5] Oczekiwanie 2 sekundy...
timeout /t 2 /nobreak >nulecho [3/5] Ustawianie głównego urządzenia audio...
powershell -ExecutionPolicy Bypass -NoProfile -File "C:\Users\mkafl\Desktop\primary_audio.ps1"echo [4/5] Oczekiwanie 5 sekund...
timeout /t 5 /nobreak >nulecho [5/5] Hibernacja komputera...
shutdown /h
I add it to start/end command and get error.
What it helps is adding:
set PATH=%SystemRoot%\System32;%SystemRoot%;%SystemRoot%\System32\WindowsPowerShell\v1.0;%PATH%
after first line.
Did some Windows update brake with Apollo?
I tried uninstalling and installing Apollo.