Beauford
asked on
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.
What are you talking about? What properties do you want to change? Windows can change most things to do with a folder.
ASKER
(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.
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(szDirectoryN ame, &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.
What you need for this are the APIs
1. FindFirstFile(szDirectoryN
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.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Good little program, but does not work on folders in 95/98 - only in NT.