Improve code quality and reliability

- Replace legacy ping delays with modern timeout command across all scripts
- Enhance PowerShell job error handling for better reliability
- Fix typos in error messages for professional appearance

These changes improve script reliability while maintaining
full backward compatibility.
This commit is contained in:
Atanu Roy 2025-09-24 15:25:47 +05:30
parent b74d1155b9
commit 24e0209de9
11 changed files with 120 additions and 24 deletions

View file

@ -149,7 +149,7 @@ echo:
echo Check this webpage for help - %mas%fix_service
echo:
echo:
ping 127.0.0.1 -n 20
timeout /t 20 /nobreak >nul
)
cls
@ -164,7 +164,7 @@ echo:
echo Check this webpage for help - %mas%troubleshoot
echo:
echo:
ping 127.0.0.1 -n 20 >nul
timeout /t 20 /nobreak >nul
popd
exit /b
)