How do I verify if a file exists and it's from today?
<p>I have this BATCH file, How to make sure the source file <code>C:\file.zip</code> exist and it's today's file, before applying the copy submission? following is not working when I tried:</p>

<pre><code>echo off
cls

echo will do a back

if [ C:\file.zip ]
then

  echo found, will validate if its the file created today?

  copy C:\file.zip "\\to_computer_of_enterprise\\granted\\to\\upload\\here"

else:
  echo sorry do not exist

fi
</code></pre>