[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 338
  • Last Modified:

Get file properties

I have a file in a folder. I know the path and filename.

How can I get the date created property?

Thanks,
0
Dovberman
Asked:
Dovberman
  • 2
1 Solution
 
Mohit VijayCommented:
To acess folder you have GetFolder and for files you have GetFiles

Namespace System.IO

see this
http://msdn.microsoft.com/en-us/library/vstudio/6yk7a1b0.aspx
0
 
DovbermanAuthor Commented:
Just what I needed.

Thanks,
0
 
DovbermanAuthor Commented:
Just what I needed.

Thanks,
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

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