title: Windows command to get the REAL creation date of image or video file
body: <p>I need to get the REAL creation date of image or video files within a Windows Script.</p>
  
  <p>I have copied many image and video files from my iPhone device. The problem is the information of file about creation and modified date is related to the copying of these files in my computer, and not the real creation date.</p>
  
  <p>This is my script:</p>
  
  <pre><code>@ ECHO OFF
  FOR %%F IN (*.jpg *.heic *.png) DO (
      SET "DATEFILEIMAGE=%%~tF"
      FOR /f "tokens=1,2,3,4 delims=/ " %%a in ("%%~tF") do (
          MKDIR %%c.%%b
          MOVE "%%F" %%c.%%b
      )
  )
  </code></pre>
  
  <p>This works fine, but the date from file is not the REAL creation date.</p>
  
  <p>If I open the file with mediainfo I can get the REAL creation date of image or video. But can I use the CLI of MediaInfo to get ONLY this information and use it inside my script?</p>