I want to write a script (bat) that will copy all files newer than a given date and then time stamp all of the files at the original location to the current date.
A standard unix command TOUCH does just that, set files to the current date. It has been ported to DOS and included with several packages. It came with most Borland programming packages for DOS ; you should be able to find a version somewhere, search for touch.exe.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.