Detecting missing file using batch script
问题 I am trying to write a batch script to detect for missing files from a list of files on Windows. Given the format of the file names to be "day_month_date_hh_mm_00_yyyy.enf", and the hours of the files will be different, I have to identify if there's a file of a particular hour is missing. I have written down the following to find out the number of days in a given year and month. set /p m="Enter month: " set /p y="Enter year: " REM call :DaysOfMonth %y% %m% setlocal DisableDelayedExpansion set