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
)
)
Check files GEQ 11000
Moderator: DosItHelp
-
- Posts: 245
- Joined: 04 Mar 2014 11:14
- Location: germany
Re: Check files GEQ 11000
Hallo Zero0,
Your script does not show how which variables are set, you can only assume that they are set. There is no If Else for either a directory, or in a loop, or recursively.
You can use a for /r loop for this.
Please use Code Tags.
Your script does not show how which variables are set, you can only assume that they are set. There is no If Else for either a directory, or in a loop, or recursively.
You can use a for /r loop for this.
Please use Code Tags.