Skip to content

Instantly share code, notes, and snippets.

@greatcodeeer
Last active August 16, 2020 09:56
Show Gist options
  • Save greatcodeeer/3affd8d88192dff54fe3 to your computer and use it in GitHub Desktop.
Save greatcodeeer/3affd8d88192dff54fe3 to your computer and use it in GitHub Desktop.
C# 通过资源管理器(explorer)打开文件并定位
//FilePath 为文件路径
Process.Start("explorer.exe ", @"/select,""" + FilePath + @"""");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment