CmdID

CmdID / Commands

invoke-item

Open files in their respective default programs. tldr-pages

On Windows

Opens CmdID with your command. It is read in your browser and sent nowhere.

Windows

from tldr-pages, CC BY 4.0

Open files in their respective default programs. Note: This command can only be used through PowerShell.

Open a file in its default program

Invoke-Item -Path path\to\fileIdentify

Open all files inside a directory

Invoke-Item -Path path\to\directory\*Identify

Open all PNGs inside a directory

Invoke-Item -Path path\to\directory\*.pngIdentify

Open all files inside a directory containing a specific keyword

Invoke-Item -Path path\to\directory\* -Include *keyword*Identify

Open all files inside a directory except those containing a specific keyword

Invoke-Item -Path path\to\directory\* -Exclude *keyword*Identify

Simulate a run to determine which files will be opened inside a directory through Invoke-Item

Invoke-Item -Path path\to\directory\* -WhatIfIdentify