Website Home | Blog | Software | Reviews and Features | Forum | Help | Donate | About us
topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • August 30, 2015, 01:01:25 PM
  • Proudly celebrating 10 years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: Stoic Joker's (File & Folder) Fix When  (Read 8452 times)

Stoic Joker

  • Honorary Member
  • Joined in 2008
  • **
  • Posts: 5,878
    • View Profile
    • www.StoicJoker.com
    • Donate to Member
Stoic Joker's (File & Folder) Fix When
« on: March 08, 2011, 05:09:11 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 * Stoic Joker's (File & Folder) Fix When.zip (326.06 kB - downloaded 581 times.)
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
FixWhen.jpg

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.


Ath

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 2,530
    • View Profile
    • Donate to Member
Re: Stoic Joker's (File & Folder) Fix When
« Reply #1 on: March 08, 2011, 05:19:19 AM »
Nice, Stoic Joker, kudo's 8)

tomos

  • Charter Member
  • Joined in 2006
  • ***
  • Posts: 9,495
    • View Profile
    • Donate to Member
Re: Stoic Joker's (File & Folder) Fix When
« Reply #2 on: March 08, 2011, 06:44:58 AM »
Good one, I can use that :)
Tom

cranioscopical

  • Friend of the Site
  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 4,300
    • View Profile
    • Read more about this member.
    • Donate to Member
Re: Stoic Joker's (File & Folder) Fix When
« Reply #3 on: March 08, 2011, 10:47:01 AM »
Thank you!
(A few DC credits coming your way.)

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 34,926
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Donate to Member
Re: Stoic Joker's (File & Folder) Fix When
« Reply #4 on: March 08, 2011, 01:22:44 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.
« Last Edit: March 08, 2011, 01:24:36 PM by mouser »

Stoic Joker

  • Honorary Member
  • Joined in 2008
  • **
  • Posts: 5,878
    • View Profile
    • www.StoicJoker.com
    • Donate to Member
Re: Stoic Joker's (File & Folder) Fix When
« Reply #5 on: March 09, 2011, 05:07:10 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.

skwire

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 4,390
    • View Profile
    • Donate to Member
Re: Stoic Joker's (File & Folder) Fix When
« Reply #6 on: March 09, 2011, 08:47:02 PM »
Well done, SJ.   :D

rjbull

  • Charter Member
  • Joined in 2005
  • ***
  • gravatar avatar
  • Posts: 2,852
    • View Profile
    • Donate to Member
Re: Stoic Joker's (File & Folder) Fix When
« Reply #7 on: March 11, 2011, 02:34:25 PM »
See also two programs by Roman Korcek, both of them plug-ins for Total Commander:
  • AddTime
      Useful when you need to change the time or date of many files by a specific amount. Example situation - your digital camera's clock has been set incorrectly and now all your pictures have their dates off by an hour. Now, instead of changing the individual properties of every file you just select them all, click AddTime Addon's button, select 1 hour, press Start, and you're done!
      Also available in a free-standing version.
  • ReDate
      It works similar to the counter [C] in TC's Multi-Rename Tool, however, it is used for file dates (and times) only. Using ReDate you can change the dates of multiple files incrementally or randomly.

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.

Stoic Joker

  • Honorary Member
  • Joined in 2008
  • **
  • Posts: 5,878
    • View Profile
    • www.StoicJoker.com
    • Donate to Member
Re: Stoic Joker's (File & Folder) Fix When
« Reply #8 on: March 11, 2011, 02:42:22 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.