skillfed

windows-open

windows-open provides programmatic access to Windows file and application launching through PowerShell and system commands. Launch documents with default or specified applications, open URLs in browsers, navigate folders in Explorer, and start applications or system utilities—all without manual user interaction.

windows-open launches files, URLs, folders, and applications on Windows using PowerShell commands.

AI-generated summary based on this skill's SKILL.md

35 2 MIT updated by malue-ai

Install

malue-ai/dazee-small/windows-open · repository language: Python

CLI (skillfed)coming soon
git clone https://github.com/malue-ai/dazee-small
cp -r dazee-small/instances/xiaodazi/skills/windows-open ~/.claude/skills/windows-open

Frequently asked questions

AI-generated answers based on this skill's SKILL.md and metadata

How do I open files programmatically on Windows?

windows-open enables programmatic file opening on Windows through PowerShell commands and system APIs. You can launch documents with their default applications, specify custom applications to open files with, or use Start-Process to execute files directly. The skill handles the underlying Windows mechanisms so your scripts can open any file type without manual intervention.

How to open files in PowerShell with windows-open?

windows-open integrates with PowerShell to open files through Start-Process cmdlets and system invocation methods. You can specify the file path, choose whether to use the default application or designate a specific program, and pass additional arguments. The skill abstracts Windows file association logic so you can open documents, spreadsheets, or any registered file type directly from your scripts.

Can windows-open open URLs with a specific browser?

Yes, windows-open supports opening URLs in specific browsers like Chrome, Edge, or Firefox. You provide the URL and browser executable path or name, and the skill launches the browser with that URL. This works for any browser installed on your system and lets you control which application handles web links programmatically.

How do I open a folder in File Explorer with windows-open?

windows-open can navigate folders in Windows File Explorer and optionally highlight or select specific files within them. Pass the folder path to open it in Explorer, or include a file path to both open the folder and select that file. This is useful for scripts that need to display file locations to users or integrate file browsing into automation workflows.

What's the windows-open equivalent of the macOS open command?

windows-open provides Windows equivalent functionality to macOS's open command. It launches applications, opens files with default or specified programs, and handles URLs and folders—all through PowerShell and Windows system commands. If you're porting macOS scripts to Windows, windows-open replaces open command behavior with native Windows mechanisms.

Can windows-open launch applications with specific arguments?

Yes, windows-open executes and launches applications with specific arguments and parameters. You can pass command-line flags, configuration options, or file paths to any application. The skill supports Start-Process with full argument passing, letting you control application behavior from your scripts without requiring manual configuration.

SKILL.md

rendered from the published skill — quoted content, verbatim

Windows 打开文件/URL/应用

使用 PowerShell 和系统命令打开文件、URL、文件夹和应用程序。 等同于 macOS 的 open 命令。

使用场景

  • 用户说「打开这个文件」「用 XX 打开」「打开那个网页」
  • 需要在文件资源管理器中定位文件
  • 需要启动特定应用
  • 文件处理完成后展示给用户查看

命令参考

打开文件(默认应用)
# 用默认应用打开文件
Start-Process "C:\Users\$env:USERNAME\Documents\report.xlsx"

# 或使用 Invoke-Item
Invoke-Item "C:\Users\$env:USERNAME\Desktop\photo.jpg"
用指定应用打开
# 用记事本打开
Start-Process "notepad.exe" -ArgumentList "C:\path\to\file.txt"

# 用 VS Code 打开
Start-Process "code" -ArgumentList "C:\path\to\project"

# 用 Word 打开
Start-Process "winword.exe" -ArgumentList "C:\path\to\doc.docx"

# 用 Excel 打开
Start-Process "excel.exe" -ArgumentList "C:\path\to\data.xlsx"
打开 URL

```powershell

用默认浏览器打开

Start-Process "https://www.example.com"

用指定浏览器打开

Start-Process "chrome.exe" -ArgumentList "https://www.example.com" Start-Process "msedge.exe" -ArgumentList

(truncated - see the full file via the links below)

Read as markdown · JSON record · Browse the source repository

File tree — 1 file
instances/xiaodazi/skills/windows-open/SKILL.md

Related skills

Tags

file-launching process-execution shell-integration app-startup browser-control system-automation windows-scripting path-navigation