DonationCoder.com Forum

DonationCoder.com Software => DC Member Programs and Projects => Topic started by: Stoic Joker on March 08, 2011, 05:09 AM

Title: Stoic Joker's (File & Folder) Fix When
Post by: Stoic Joker on March 08, 2011, 05:09 AM
Application Name Stoic Joker's (File & Folder) Fix When
Version 1.0.0.1
Short Description Utility for modifying File or Folder Dates & Attributes
Supported OSes Windows NT4/2000/XP/2k3/Vista/2k8/7
Web Page You're on it... ;)
Download Link [ You are not allowed to view attachments ]
Source Code Included
System Requirements
  • If your computer runs, so will it.
Version History
  • v1.0 Released
Author Stoic Joker


Description
One of the in-House (work) projects required me to modify the file dates of several hundred files on a semi-regular basis while a new system was being implemented. Obviously this had to be automated....

All of the then available utilities for this were in the $50 range, so I decided to take a stab at writing my own utility (because I'm cheap and had free time back then).

This actually started as a CodeProject.com code sample which was posted as an example of how to programmatically change file dates. Being that that was exactly what I was looking for, I used it as a starting point, dressed up the GUI, added a few features, and re-factored the existing code to increase the applications speed (x20) dramatically.

Features
Change Created, Modified, and Last accessed dates on a File or Folder.
Change the Read Only, Hidden, or System Attribute on a File or Folder.
Change the above on All Filed & Folders in a given Target Folder.
Bypass (Read Only or System) Attributes to effect changes as necessary.
Will also Display if target File of Folder is (NTFS) Compressed or Encrypted.

Planned Features
This Application has no future plans.

Screenshots
[ You are not allowed to view attachments ]

Usage
Installation
Unzip and Run, no installation required.

Using the Application
Just select the target File or Folder and it's current dates and attributes will be displayed. Adjust them to your liking and hit Save Changes.

Uninstallation
Delete it.

Known Issues
None that I've found.

Title: Re: Stoic Joker's (File & Folder) Fix When
Post by: Ath on March 08, 2011, 05:19 AM
Nice, Stoic Joker, kudo's 8)
Title: Re: Stoic Joker's (File & Folder) Fix When
Post by: tomos on March 08, 2011, 06:44 AM
Good one, I can use that :)
Title: Re: Stoic Joker's (File & Folder) Fix When
Post by: cranioscopical on March 08, 2011, 10:47 AM
Thank you!
(A few DC credits coming your way.)
Title: Re: Stoic Joker's (File & Folder) Fix When
Post by: mouser on March 08, 2011, 01:22 PM
Thanks for sharing this  :up:

One feature that might be nice is the ability to filter it to only touch files within a certain date range -- that would make it useful for "fixing" bad file/date timestamps.
Title: Re: Stoic Joker's (File & Folder) Fix When
Post by: Stoic Joker on March 09, 2011, 05:07 PM
One feature that might be nice is the ability to filter it to only touch files within a certain date range -- that would make it useful for "fixing" bad file/date timestamps.

I've been mulling this one over, mainly trying to figure out when someone would need to do that. It is do-able...However time is a factor. So I'm not sure when I could get to it.

If anyone else is interested in this feature, speak now! ...So I can figure out how (/if) to prioritize it.
Title: Re: Stoic Joker's (File & Folder) Fix When
Post by: skwire on March 09, 2011, 08:47 PM
Well done, SJ.   :D
Title: Re: Stoic Joker's (File & Folder) Fix When
Post by: rjbull on March 11, 2011, 02:34 PM
See also two programs by Roman Korcek, both of them plug-ins for Total Commander (http://www.ghisler.com/):

Back in DOS, I mostly used Charles Dye's (Web site defunct) TOUCH:

TOUCH.COM   v1.08d   2003-10-05   C. Dye
GPL Freeware.  Copyright 1996-2003, Charles Dye.  No warranty!

TOUCH [filespecs] [options]

   /D:date  set to specific date     /D  set to today's date
   /T:time  set to specific time     /T  set to current time
   /C=file  copy stamps from file
   /A:attr  change file attributes
   /P  offer yes/no prompt           /F:x  set date format
   /S  recurse into subdirectories   /M    page output

Unless you use /D /T /C or /A, no changes will be made!
Try /D? /T? /C? /A? /F? or /M? for more info.

The local date format is DD/MM/YYYY; you may omit the year.


One of the most interesting options was /C= copy time stamps from another file.
Title: Re: Stoic Joker's (File & Folder) Fix When
Post by: Stoic Joker on March 11, 2011, 02:42 PM
@rjbull - Cool!


Okay guys (you win), I'm trying to work on T-Clock ... But I'll put some notes in FixWhen's project file and put it back on the To-Do list.
Title: Re: Stoic Joker's (File & Folder) Fix When
Post by: BONZ on September 15, 2015, 09:06 PM
YUP SWEET AND SIMPLE  :up: