Windows Thread, Command line 'touch' utility that can change folder dates in Technical; Just a quickie - in the middle of scripting a bunch of batch files to clean up roaming profiles that ...
-
10th January 2007, 01:21 PM #1 Command line 'touch' utility that can change folder dates
Just a quickie - in the middle of scripting a bunch of batch files to clean up roaming profiles that have got messy...
Has anyone come across a Windows build of touch.exe (or any other similar freeware utility) that can handle changing the created/modified date for folders (ie the actual directory itself, not the contents)? Tried all the ones I can lay my hands on and as far as I can see nothing seems to want to behave...
Cheers.
-
-
IDG Tech News
-
10th January 2007, 01:25 PM #2 Re: Command line 'touch' utility that can change folder dates
-
-
10th January 2007, 01:29 PM #3 Re: Command line 'touch' utility that can change folder date
-
-
10th January 2007, 02:21 PM #4 Re: Command line 'touch' utility that can change folder dates
CodeProject one - doesn't touch folders.
An entire Cygwin base install just to get touch seemed overkill, especially when it may still not work. I have quite a few versions of touch.exe now which are supposedly exact *nix ports anyway and refuse to process folders or instead process the folders contents when passed a folder name as a parameter...
Thanks for the suggestions though.
-
-
10th January 2007, 02:54 PM #5 Re: Command line 'touch' utility that can change folder dates
The only thing you need to run cygwin apps is the cygwin.dll. So you can just stick touch.exe and cygwin.dll in system32 and it'll work quite happily.
The full blown installer madness is just there for people who need their hands holding (One wonders about the logic of this, presumably if you know you need a *nix command line tool on win32 you can hold your own hands).
-
-
10th January 2007, 03:55 PM #6 Re: Command line 'touch' utility that can change folder dates
I realised that, I just hate the game of hunt down the incompatible versions of cygwin1.dll I have to play everytime I install something else that depends on Cygwin... Currently my Windows SSH server is cygwin based and seems to be happily running an incompatible version to the current version provided when I download Cygwin/Coreutils to get hold of Touch. Doh.
-
SHARE:
Similar Threads
-
By russdev in forum Windows
Replies: 1
Last Post: 27th September 2007, 08:04 PM
-
By russdev in forum MIS Systems
Replies: 2
Last Post: 20th September 2007, 02:00 PM
-
By Teth in forum How do you do....it?
Replies: 16
Last Post: 16th January 2007, 02:17 PM
-
By wesleyw in forum Windows
Replies: 4
Last Post: 12th October 2006, 11:10 AM
-
By contink in forum How do you do....it?
Replies: 2
Last Post: 2nd October 2006, 04:27 PM
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules