PDA

View Full Version : Timestamping files


ron
03-30-2003, 12:02 AM
After building the binaries, I want to date and time stamp all the files going into an installer build. Is there a simple method to do this?
Thanks!
Ron

kalons
03-31-2003, 08:54 AM
You can use the touch utility from http://unxutils.sourceforge.net/ to do it, calling it from a Run Program step. For example:

touch "%PROJDIR%\*.exe"

The above will work if you extract touch.exe to a location in your PATH environment. Or you could put it in the VisBuildPro\Tools path and use "%TOOLSDIR%\touch" instead.

ron
03-31-2003, 01:21 PM
kak,
Thanks, this worked fine although I used a Process Files step in order to recurse sub folders. This seems to me to be a common thing to do and I thought I may have missed the feature in the interface.
Ron