C sharp - COMO CREAR CARPETAS

 
Vista:

COMO CREAR CARPETAS

Publicado por AUGUSTO ESTEBAN (3 intervenciones) el 10/06/2005 23:26:19
saludos gente, como puedo crear carpetas, si alguien m epudiera ayudar le agradeceria :)
Valora esta pregunta
Me gusta: Está pregunta es útil y esta claraNo me gusta: Está pregunta no esta clara o no es útil
0
Responder

RE:COMO CREAR CARPETAS

Publicado por Ramiro Polverini (20 intervenciones) el 04/11/2005 06:17:45
Using System.IO;

//ver si existe
if (Directory.Exists(PathResguardo))

//borrar
Directory.Delete(PathResguardo,true);

//CREAR CARPETA
Directory.CreateDirectory(PathResguardo);
En Todos los casos, pathresguardo es un string con la RUTA COMPLETA
Suerte
Valora esta respuesta
Me gusta: Está respuesta es útil y esta claraNo me gusta: Está respuesta no esta clara o no es útil
0
Comentar