Hi guys! This is my script, that works correctly in the CMD environment, but with TCC it hangs (the TCC windows title shows "TIMEOUT /T 2 /NOBREAK >NUL".
Do you have any solutions and/or TCMD.ini settings to try?
Thank you!!
@ECHO OFF
SET "my_log=%~dp0my_log.log"
SET "FoundS=0"
FOR /R %%A IN ("filename*") DO (
SET "FoundS=1"
TIMEOUT /T 2 /NOBREAK >NUL
CALL :LogOpen "%%A"
START "" /MIN /WAIT "%%A"
IF ERRORLEVEL 1 (
ECHO Failed %%~nA>>"%my_log%"
) ELSE (...
Read more
Do you have any solutions and/or TCMD.ini settings to try?
Thank you!!
@ECHO OFF
SET "my_log=%~dp0my_log.log"
SET "FoundS=0"
FOR /R %%A IN ("filename*") DO (
SET "FoundS=1"
TIMEOUT /T 2 /NOBREAK >NUL
CALL :LogOpen "%%A"
START "" /MIN /WAIT "%%A"
IF ERRORLEVEL 1 (
ECHO Failed %%~nA>>"%my_log%"
) ELSE (...
Read more