Check files GEQ 11000
Posted: 24 Jan 2020 08:01
Good Afternoon,
I'm trying to check Multiple files that are over 11kb, which then returns a Preset list that isn't over 11kb.
Could anyone tell me where i'm going wrong here?
Thank you for any support.
IF /r "C:\Users\%G%\%F%\Week %Week%\!b!\Day %day%.xlsx" %%S in (*) do @if %%~zS GEQ 13000 (
Goto End
) Else (
Color C
set /a countc=countc+1
IF !countc!==1 echo These are the Missing files.
Echo !b!
Pause
)
:end
Color A
IF %%i==23 (
IF !countc!==0 echo welldone all Files are there.
Pause
)
)
I'm trying to check Multiple files that are over 11kb, which then returns a Preset list that isn't over 11kb.
Could anyone tell me where i'm going wrong here?
Thank you for any support.
IF /r "C:\Users\%G%\%F%\Week %Week%\!b!\Day %day%.xlsx" %%S in (*) do @if %%~zS GEQ 13000 (
Goto End
) Else (
Color C
set /a countc=countc+1
IF !countc!==1 echo These are the Missing files.
Echo !b!
Pause
)
:end
Color A
IF %%i==23 (
IF !countc!==0 echo welldone all Files are there.
Pause
)
)