would Appreciate if you help me with below motioned script actually I am trying to write a batch file which can search *.avi and check if it is more than 200 MB restrict the file by using cacls or del the same. i m new with batch file and trying hard to get this done please help me
Thanks in advance.
for /R d:\ %I IN ('%FILETYPE%') do set FILESIZE=%~xI
if %FILESIZE% GTR %SIZELIMIT% (
) ELSE (
echo.file not found