FolderTouch is a .NET utility to touch the datetime of folders and files recursively, even if readonly. Files that are currently in use however, cannot be touched. If anyone knows how, please let me know and I will implemented. I am aware of delayed touch but hoping for some breakthrough.

Usage:

        FolderTouch [folder] [files] [yyyy-mm-dd[ [HH:MM:SS]

Examples

        FolderTouch          // touch all folders and files recursively inside current folder with current datetime
        FolderTouch .        // touch all folders and files recursively inside current folder with current datetime
        FolderTouch *.*     // touch all files inside current folder (excluding subfolders) with current datetime

        FolderTouch . 2012-07-29
        FolderTouch *.* 2012-07-29
        FolderTouch . *.* 2012-07-29

        FolderTouch . 12:34
        FolderTouch *.* 12:34
        FolderTouch . *.* 12:34

        FolderTouch . 2012-07-29 12:34
        FolderTouch *.* 2012-07-29 12:34
        FolderTouch . *.* 2012-07-29 12:34

        FolderTouch C:\Test
        FolderTouch C:\Test *.zip
        FolderTouch C:\Test *.zip 2012-07-29
        FolderTouch C:\Test *.zip 12:34
        FolderTouch C:\Test *.zip 2012-07-29 12:34
 

God bless those who follow His Command and guide them to His straight path.

Ali Adams
God > infinity
www.heliwave.com



Last edited Feb 17, 2013 at 2:21 PM by silverlight5, version 18