dotnet core tool for opening files using default program
Syntax: open [<extension>] [-e] [-a] [-f <file>]
open sln
- to open all .sln files in current directoryopen -f test.txt
- opentest.txt
file with default programopen -f mysolution.sln -e
- editmysolution.sln
file with default programopen -aef mysolution.sln
- open in edit mode themysolution.sln
as administrator
-e
- open in edit mode-a
- open as administrator-f <file>
- specify file to open
For combined usage of -e
and -a
options, the default program for .txt
files will be used.