Welcome Guest.   Make a donation to an author on the site July 25, 2014, 03:27:08 AM  *

Please login or register.
Or did you miss your validation email?


Login with username and password (forgot your password?)
Why not become a lifetime supporting member of the site with a one-time donation of any amount? Your donation entitles you to a ton of additional benefits, including access to exclusive discounts and downloads, the ability to enter monthly free software drawings, and a single non-expiring license key for all of our programs.


You must sign up here before you can post and access some areas of the site. Registration is totally free and confidential.
 
Learn about the DonationCoder.com microdonation system (DonationCredits).
   
   Forum Home   Thread Marks Chat! Downloads Search Login Register  
Pages: [1]   Go Down
  Reply  |  New Topic  |  Print  
Author Topic: Stoic Joker's (File & Folder) Fix When  (Read 6529 times)
Stoic Joker
Honorary Member
**
Posts: 5,098



View Profile WWW Give some DonationCredits to this forum member
« 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... Wink
Download Link * Stoic Joker's (File & Folder) Fix When.zip (326.06 KB - downloaded 467 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


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.

Logged
Ath
Supporting Member
**
Posts: 2,180



see users location on a map View Profile WWW Give some DonationCredits to this forum member
« Reply #1 on: March 08, 2011, 05:19:19 AM »

Nice, Stoic Joker, kudo's Cool
Logged

tomos
Charter Member
***
Posts: 8,346



see users location on a map View Profile WWW Give some DonationCredits to this forum member
« Reply #2 on: March 08, 2011, 06:44:58 AM »

Good one, I can use that smiley
Logged

Tom
cranioscopical
Friend of the Site
Supporting Member
**
Posts: 4,164



see users location on a map View Profile Read user's biography. Give some DonationCredits to this forum member
« Reply #3 on: March 08, 2011, 10:47:01 AM »

Thank you!
(A few DC credits coming your way.)
Logged

Chris
mouser
First Author
Administrator
*****
Posts: 33,180



see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #4 on: March 08, 2011, 01:22:44 PM »

Thanks for sharing this  thumbs 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 » Logged
Stoic Joker
Honorary Member
**
Posts: 5,098



View Profile WWW Give some DonationCredits to this forum member
« 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.
Logged
skwire
Charter Member
***
Posts: 4,015



Another Coding Snack request? Om nom nom...

see users location on a map View Profile WWW Give some DonationCredits to this forum member
« Reply #6 on: March 09, 2011, 08:47:02 PM »

Well done, SJ.   cheesy
Logged

rjbull
Charter Member
***
Posts: 2,734

View Profile Give some DonationCredits to this forum member
« 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.
Logged
Stoic Joker
Honorary Member
**
Posts: 5,098



View Profile WWW Give some DonationCredits to this forum member
« 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.
Logged
Pages: [1]   Go Up
  Reply  |  New Topic  |  Print  
 
Jump to:  
   Forum Home   Thread Marks Chat! Downloads Search Login Register  

DonationCoder.com | About Us
DonationCoder.com Forum | Powered by SMF
[ Page time: 0.04s | Server load: 0.26 ]