Im trying to run an Error message if an command fails but i dont know how
I know that you can use command1 && command2
if you want the second command to be only run if the first was successful but I dont know how to do this in batch. Also the things that i found didnt work like command1 | command2
.
Im trying this right now for %%i in (*.osz) do start "" "%%~i | echo Error accrued! && Color c && timeout -1 >nul"
but it dosent work.
Pls Help me