-
Notifications
You must be signed in to change notification settings - Fork 0
OPEN command
FireBlade edited this page May 9, 2026
·
1 revision
Opens a file or directory with the default associated application.
open <PATH> [options]-
<PATH>
The path of the file or directory to open.
-
-w(--workdir)
The working directory to start the process in. The default is the current working directory. -
-v(--verb)
Specifies the verb to launch the process with on Windows. See the Remarks section for more info. -
-s(--synchronous,/S,--sync)
FileCMD v1.1: Run the application synchronously and wait for the process to exit before returning. -
/?(/h,-h,--help)
Show help and usage information.
start, execute, exec, run
The --verb option specifies the verb to launch the file or application with when running on Windows.
A verb represents a specific action that a file or application can be started with. Common verbs include:
-
open: Opens the file normally. -
edit: Launches an editor and opens a document file for editing. -
explore: Explores a folder. -
print: Prints a document file. -
find: Initiates a search beginning in the directory specified. -
runas: Launches an application as Administrator. A User Account Control (UAC) dialog for consent will be shown.