Process p = new Process();
p.StartInfo.FileName="explorer.exe";
p.StartInfo.ArgumentList.Add("shell:RecycleBinFolder");
p.Start();
感谢,我这边用的Visual Studio 2022 Ent , .net framework 4.8
代码应该为下面:
Process p = new Process();
p.StartInfo.FileName = "explorer.exe";
p.StartInfo.Arguments = "shell:RecycleBinFolder";
p.Start();