Without using PowerShell or other scripts, and only using built-in Windows command-line programs, I'm trying to find files modified after a certain date and time, but I'm having trouble. This is the command I'm using:
wmic datafile where "drive='c:' and path='\path\to\folder\' a nd lastmodified>'201905141200'" get name
I've also tried various combinations without quotes around the lastmodified value, however, I keep getting:
ERROR:
Description = Invalid query
Is it not possible to query the 'lastmodified' field with WMIC? Again, I'm trying to do this outside of PowerShell and without scripts -- purely command-line syntax.