TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
deepak sindhwani
NA
11
0
Scanning System
Nov 28 2012 8:05 AM
Hi,
I want to create an exe in windows application which takes the count of tmp files in all drives on my system. And it excludes the system information folder because it is not accessible for domain users when it searches the files.
Below mentioned is the code which I have used.
fileCount = Directory.GetFiles(@"C:\\", "*.tmp", SearchOption.AllDirectories).Length;
This code gives error c:\system volume information access denied.
I want to skip this folder.
Rgds
Deepak Sindhwani
Reply
Answers (
0
)
Iterate Through LIST
Creating a weekly event base upon a date range