How to open an file's Properties dialog by a button
private void button_Click(object sender, EventArgs e)
{
string path = @"C:\Users\test\Documents\tes.text";
// how to open this propertie
}
Like windows right click on a file and you can open the Properties of the file.
For example if want the System properties
Process.Start("sysdm.cpl");
But how do I get the Properties dialog for a file path?
.fMask
toSEE_MASK_INVOKEIDLIST + SEE_MASK_NOCLOSEPROCESS
(and added it's integer value, 64, as well), but nothing changed. – Welldisposed