how to open a file in command prompt code example
Example 1: how to open a file using terminal
open ~/Desktop/filename.txt
Example 2: cmd open file with program
"C:\Program Files\Adobe\Photoshop\photoshop" "C:\Users\csterling\Documents\some document.pdf"