shl = new Shell(); Folder Recycler = shl.NameSpace(10); for (int i = 0; i < Recycler.Items().Count; i++) { FolderItem FI = Recycler.Items().Item(i); string FileName = Recycler.GetDetailsOf(FI, 0); label1.Text = FileName.ToString(); if (Path.GetExtension(FileName) == "") FileName += Path.GetExtension(FI.Path); //Necessary for systems with hidden file extensions. string FilePath = Recycler.GetDetailsOf(FI, 1); lbl_tmp.Text = FilePath.ToString();
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)