可以与 Explorer.exe 一起使用的命令行选项有:/n、/e、/root(加上一个对象)和 /select(加上一个对象)。

uses
  ShellAPI;

  ShellExecute(Handle,
    nil,
    'Explorer.exe',
    PChar(Format('/e,/select,%s', [GLogger.CurrFileName])),
    nil,
    SW_NORMAL);

Windows 资源管理器命令行选项

相关文章:

  • 2022-02-18
  • 2022-12-23
  • 2021-07-17
  • 2021-04-29
  • 2021-09-25
  • 2021-10-15
  • 2021-08-29
  • 2022-01-11
猜你喜欢
  • 2022-01-04
  • 2022-12-23
  • 2021-09-07
  • 2022-12-23
相关资源
相似解决方案