?
Solved

Folder creation date without shelling to DOS

Posted on 1998-06-16
3
Medium Priority
?
281 Views
Last Modified: 2012-05-04
I would like to determine the date of creation of a folder without SHELLing to DOS or other applications.  Please help
0
Comment
Question by:ktcao
  • 2
3 Comments
 
LVL 6

Accepted Solution

by:
alamo earned 400 total points
ID: 1463494
You can use the builtin FileDateTime function to get a directory's creation date if you add "\." to the directory name, e.g.

FileDateTime("c:\temp\.")

Hope this solves your problem, good luck!
0
 

Author Comment

by:ktcao
ID: 1463495
Thanx a lot.  That's exactly what I was looking for.  I was using FileDateTime to get the date on files but couldn't get date for folders.  Again, thanx.
0
 

Author Comment

by:ktcao
ID: 1463496
I meant didn't know how to use FileDateTime to get date for folders.
0

Featured Post

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…
Suggested Courses
Course of the Month14 days, 1 hour left to enroll

807 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question