I have a web applicatin in C# that copy fies from one directory to another. I figured out all the logistics but I need to be more dynamic with my variables.
Check the CRCV folder for files and folders, copy them the content to the GRCV then delete original content. I have to repeat the same process for the CSND folders and files. My root folder is called "basedLoc" which has RCV and CSND folders.
How do I create a dynamic loop that starts at the top of the baseLoc folder and drill down to CRCV and complete the process and they go into CSND. I need the string names to be dynamic so that I am not duplicating codes for each step based on the
string.
//local Source
String CRCV = ConfigurationSettings.AppSettings["CRCV"];
String CSND = ConfigurationSettings.AppSettings["CSND"];
//G: Destination
String GRCV = ConfigurationSetti ...
Go to the complete details ...