4cade/bin/checkdate.js
Peter Ferrie d361a5fb8f sync
2021-10-27 21:10:19 -07:00

3 lines
215 B
JavaScript

a = new ActiveXObject("scripting.filesystemobject")
WScript.quit(Math.abs(!a.fileexists(WScript.Arguments(0)) || a.getfile(WScript.Arguments(0)).datelastmodified < a.getFile(WScript.Arguments(1)).datelastmodified))