How to implement "Find Target"

来源:互联网 发布:微信企业号授权 java 编辑:程序博客网 时间:2024/05/20 07:59

string file = @"c:/test.txt";
string folder = System.IO.Path.GetDirectoryName(file);
try
{
 System.Diagnostics.Process.Start(folder);
 System.Threading.Thread.Sleep(800);
 SendKeys.Send(System.IO.Path.GetFileName(file));
}
catch {};

原创粉丝点击