Change File Date Attributes

Introduction

Have you ever found yourself in a situation where you wanted to change the attributes of a file such as the creation date, modified date or last accessed date.

For one reason or another, sometimes you might just want to change the attributes, and since Windows does not offer an easy way to do so, I wrote a small easy-to-use program to change the date of a file.

Using the Program

After extracting and executing the program, click open and load the file for which you want to change the attributes.

ChangeFileDateAttributes_Open.png

After you open the file, you will see its path in the textbox in the bottom of the program.
Now all you have to do is just click on the checkbox that you wish to edit, and select a new time and date.

ChangeFileDateAttributes_Modify.png

Click Save and the new attributes will be saved into the file.

ChangeFileDateAttributes_Save.png

The file attributes will look like the following:

ChangeFileDateAttributes_Properties.png

Using the Code

I will explain just the functions required to change the date attributes.

First we add the IO library:


See full detail: http://www.codeproject.com/KB/files/ChangeFileDateAttributes.aspx

Comments

Popular posts from this blog

Asynchronous Socket Programming in C#

Url Routing MVC TUTORIAL

WCF Chat Sample