How to implement "Find Target"
2004-09-08 20:19
295 查看
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 {};
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 {};
相关文章推荐
- how to fix "Cannot find a valid baseurl for repo: poptop-stable/7" in centos 7 *64 when use "yum -y
- How to solve "java.lang.VerifyError: Expecting a stackmap frame at branch target 6 in method"
- LINK: WinRT, Xamarin.Android, Xamarin.iOS - How to implement a "pull-to-refresh" list
- the "find" which you should kown that how to use it
- How to use gnu readline to implement "reset password".
- Please read "Security" section of the manual to find out how to run mysqld as root!错误解决
- mysql多实例配置下,用脚本启动mysql时,出现Please read "Security" section of the manual to find out how to run mysqld as root!
- Android - "cause failed to find target android-14" 问题
- Please read "Security" section of the manual to find out how to run mysqld as root!错误解决
- [ERROR] Fatal error: Please read "Security" section of the manual to find out how to run mysqld as root!
- eclipse import gradle project error : "unable to find valid certification path to requested target"
- Android - "cause failed to find target android-14" 问题
- Android - "cause failed to find target android-14" 问题
- C++ debug "cannot find the file Debug\***.pch" & how to debug multi-projects under one solution
- How-To Find the Source of "Unaligned Access"
- Please read "Security" section of the manual to find out how to run mysqld as root!错误解决
- How to find the exact line position which causes “undefined is not a function" error
- how to find "oracle在各种linux上的安装手册"
- How to deal with "Could not find component on update server. Contact VMware Support or your system administrator." in Vmware.
- Axure RP Pro - jQuery - How to implement the "set focus" action