Ayuda con busqueda de informacion de files
Publicado por Neowolf (1 intervención) el 04/11/2014 16:05:48
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
private void Form1_Load(object sender, EventArgs e)
{
double size = 0;
Shell32.Shell shell =new Shell32.Shell();
Shell32.Folder directorio;
directorio = shell.NameSpace(@"c:\");
foreach (Shell32.FolderItem2 item in directorio.Items())
{
FileInfo Z = new FileInfo(directorio.GetDetailsOf(item, 0));
size = Z.Length;
MessageBox.Show(size.ToString());
}
}
me dice que no puede encontrar el file.
que estoy haciendo mal?
Valora esta pregunta


0