# windows: Fix \`RevealInFileManager\` \(\#36592\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/8ef9ecc91f6c6b2eaf65fd0d8a93e2f49af876de)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: 8ef9ecc91f6c6b2eaf65fd0d8a93e2f49af876de

Requested commit: 8ef9ecc91f6c6b2eaf65fd0d8a93e2f49af876de

Commit: 8ef9ecc91f6c6b2eaf65fd0d8a93e2f49af876de

Tree: 6ccdac5cbf4dc941b4681be33a29c827e8a60da7

Author: 张小白

Committer: GitHub

## Message

```
windows: Fix `RevealInFileManager` (#36592)

Closes #36314

This PR takes inspiration from [Electron’s
implementation](https://github.com/electron/electron/blob/dd54e84a58531b52680f7f736f593ee887eff6a7/shell/common/platform_util_win.cc#L268-L314).

Before and after:



https://github.com/user-attachments/assets/53eec5d3-23c7-4ee1-8477-e524b0538f60



Release Notes:

- N/A
```

## Parents

- [3dd362978a2b5fa6c41da9368252491d1c638fab](https://git.cafe/gitcafe/zed/commit/3dd362978a2b5fa6c41da9368252491d1c638fab?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/8ef9ecc91f6c6b2eaf65fd0d8a93e2f49af876de?format=markdown)
