ando999 Posted November 4, 2007 Report Share Posted November 4, 2007 Hello All,This is my first post on Windows Forum so please go easy on me! :) I'm running Microsoft Windows XP [Version 5.1.2600]. I have a list of directories where I would like to change the timestamp to the current date/time. I've seen that I can get the Unix touch utility for windows but this only allows me to change the timestamp for files (I think).Do any of you know an easy way to do this from the command line (I would like to put it into a simple script).For example, if I have the following directory:02/06/2007 13:26 <DIR> testI would like to touch it so the timestamp is now:04/11/2007 14:22 <DIR> testThanks in advance for your help!Andy Quote Link to comment Share on other sites More sharing options...
MANEMAN Posted November 4, 2007 Report Share Posted November 4, 2007 Hi there. I dont personally know of script to use from command line, - but ..... .............Try here: ***TIMESTAMP SOFTWARE***Or continue on your quest with Unix. Download it and find out the possibilities.http://en.wikipedia.org/wiki/Touch_(Unix)http://www.codeproject.com/tools/touch_win.aspYou may just be lucky and find someone who has written something especially for XP if you look around.Remember: Google is your friend. Quote Link to comment Share on other sites More sharing options...
ando999 Posted November 4, 2007 Author Report Share Posted November 4, 2007 Try here: ***TIMESTAMP SOFTWARE***Excellent dirdate.exe from the link above is exactly what I'm after!! Thanks very much for your help. Much appreciated.Andy Quote Link to comment Share on other sites More sharing options...
ɹəuəllıʍ ʇɐb Posted November 5, 2007 Report Share Posted November 5, 2007 Welcome to the Windows Forum, Member No.: 10,000! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.