I have this simple batch script which copies the newest file in some dir to another place. I want this script to also ignore all files (in the DIR command section) under 1GB of size.
FOR /F "delims=|" %%I IN ('DIR "Y:\DEVL\*.*" /B /A-D') DO SET NewestFile=%%I copy "Y:\DEVL\%NewestFile%" "F:\DEVL\%NewestFile%"
Any help would be very appreciated.