Jump to content

Changing the timestamp of a folder


ando999
 Share

Recommended Posts

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> test

I would like to touch it so the timestamp is now:

04/11/2007 14:22 <DIR> test

Thanks in advance for your help!

Andy

Link to comment
Share on other sites

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.asp

You may just be lucky and find someone who has written something especially for XP if you look around.

Remember: Google is your friend.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy