попробуйте это:
wmic datafile where name='c:\\users\\ovadia\\test\\addx.txt' get 'LAST MODIFIED' > dateofNEWadd.txt
wmic datafile where name='c:\\users\\ovadia\\test\\prevaddx.txt' get 'LAST MODIFIED' > dateofOLDadd.txt
fc /LB1 dateofNEWadd.txt dateofOLDadd.txt
if errorlevel 1 echo "fc err not 0"
del dateof*
атрибуты для 'get' могут быть ...
Access Rights,
Caption,
Class Name,
Compressed,
Compression Method,
Computer System Class Name,
Computer System Name,
Creation Date,
Current File Open Count,
Description,
Drive,
Eight Dot Three File Name,
Encrypted,
Encryption Method,
File Extension,
File Name,
File System Class Name,
File System Name,
File Type,
Hidden,
Install Date,
Last Accessed,
Last Modified,
Manufacturer,
Name,
Path,
Readable,
Should Be Archived,
Size,
Status,
System File,
Version,
Writeable