j c

j c

  • NA
  • 45
  • 0

Createa a directory(folder) dynamically

Mar 12 2014 5:35 PM
I would like to create a folder in the server path dynamically  ( if it exists then delete and recreate ) using C#
For example,
the server path is \\Server1\test$\data\
 
and I would llike to creat a folder under abover path called "Export1" ( the folder name can change dynamically) and if the folder exist , then overwrite.
 
how can I do this?
 
 
thanks,
 

Answers (1)