Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

powershell open file with default program

# Open a file using the default program
PS C:> Invoke-Item foo.pdf
# Shortcut
PS C:> ii foo.pdf
# Open File Explorer in current direcetory
PS C:> ii .
Source by www.reddit.com #
 
PREVIOUS NEXT
Tagged: #powershell #open #file #default #program
ADD COMMENT
Topic
Name
7+1 =