Please I am a c# newbie, I need help with writing an application that will search for files on my d: drive with a .ctl extension, read each line of such files for a text called "pull", extract that line and write it to another file.
How far have you got with this? The first step I guess is to create a DirectoryInfo object. You can then use foreach FileInfo within the DirectoryInfo object. All in System.IO I believe.
Thanks for the information. When the gurus werent forthcoming, I pulled out C# in a nutshell, read some relevant chapters and have written the application.
System.io was quite handy as was Directory.GetFiles(string, string)
Reading and writing to a text files was pretty stright forward.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.