• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 173
  • Last Modified:

Folder Question

Is there a utility, or a through Windows, that you can change the properties of Windows folders (i.e. changing the time and date). I have a utility that will work for files, but not for directories.
0
Beauford
Asked:
Beauford
1 Solution
 
pete_perryCommented:
What are you talking about?  What properties do you want to change?  Windows can change most things to do with a folder.
0
 
BeaufordAuthor Commented:
(i.e. changing the time and date on one or more folders). This can not be done through Windows. I am looking for a 3rd party utility.
0
 
MarthiCommented:
I don't know of a utility however, I can do it using a little program that Finds the directory and changes the properties.

What you need for this are the APIs
1. FindFirstFile(szDirectoryName, &FileData);
2. FindNextFile() - in case you need to recurse into the directory and change sub-directories too.
3. SetFileTime(...) - You can change Creation Time, last access time etc with this.
4. SetFileAttributes(...) - You can change some attributes using this API.

Hope this helps,
Marthi

3.
0
 
ftownCommented:
Since I came over from the unix world, this "touched" me in my program tester setup.
Goto home.worldonline.dk/~ninotech and download the free program date edit 2.0.  On build 2072 it workes for folders just fine.  
0
 
BeaufordAuthor Commented:
Good little program, but does not work on folders in 95/98 - only in NT.
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now