partial directory deletion and recreation
hi all,
i am facing problem in
i have a project directory which contain some useful files and some waste files.
project directory hierarchy is as follows
Project directory
-- directory1
subdirectory with waste files
useful files
-- directory2
subdirectory with waste files
useful files
now i want to delete the directory by copying useful files out and then after recreating the directory ,i wish to copy the same files back to their hierarchy.
Can anybody send me code for this in c#.
regards

