Micah 8/15/2011 2:15:02 PM

Processing all the files in a folder

A common integrtion task is to scan all the files in a folder and process them.

This code sample shows how to read all the files in a directory and get the file name and the full file path and name. This code uses the System.IO.DirectoryInfo and System.IO.FileInfo objects.

We also get the directory to scan from the app.config file using System.Configuration.ConfigurationManager.AppSettings("directoryName")

Version: Unknown or N/A
Section: .NET Development


Table Definition Quick Links
All Tables
SOP Tables
RM Tables
GL Tables
POP Tables
HR Tables
PM Tables
UPR Tables
IV Tables
Olympic Tables
3