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
sharath mqd
NA
7
0
Unable to get files/ folder under C:\windows\system32\OObe
Mar 26 2020 10:33 PM
below is the code which i have written. but getting only single and 2 DLL information only. Need help ASAP as i have production deployment on Saturday.
string
[] allfiles = Directory.GetFiles(
"C:\Windows\System32\oobe"
,
"."
, SearchOption.AllDirectories);
foreach
(var file
in
allfiles)
{
FileInfo info =
new
FileInfo(file);
listBox_DirectoryRecoveryOOBE.Items.Add(info);
}
DirectoryInfo directoryinfo =
new
DirectoryInfo(
"C:\\Windows\\System32"
);
DirectoryInfo[] dirs = directoryinfo.GetDirectories();
FileInfo[] WindowsSys32 = directoryinfo.GetFiles();
foreach
(System.IO.DirectoryInfo di
in
dirs)
{
listBox_DirectoryMainOOBE.Items.Add(di.FullName);
}
foreach
(FileInfo fileinfo
in
WindowsSys32)
{
listBox_DirectoryMainOOBE.Items.Add(fileinfo.FullName);
Reply
Answers (
2
)
Problem deleting a record using an ODATA webservice
developing windows forms app in .netcobol