MCPcopy Index your code
hub / github.com/ZToolsCenter/ZTools / getWindowsExplorerPath

Function getWindowsExplorerPath

src/main/api/renderer/systemCommands.ts:39–41  ·  view source on GitHub ↗
(windowInfo: WindowsWindowInfo)

Source from the content-addressed store, hash-verified

37 * 支持标准 Explorer 窗口(通过 COM)和桌面窗口(回退到桌面路径)
38 */
39export function getWindowsExplorerPath(windowInfo: WindowsWindowInfo): string | null {
40 return getExplorerFolderPathFromWindow(windowInfo, 'SystemCmd')
41}
42
43/**
44 * 尝试启动终端(Windows 平台)

Callers 2

handleCopyPathFunction · 0.70
handleOpenTerminalFunction · 0.70

Calls 1

Tested by

no test coverage detected