open file with cmd code example
Example 1: cmd open file with program
"C:\Program Files\Adobe\Photoshop\photoshop" "C:\Users\csterling\Documents\some document.pdf"
Example 2: open file explorer from cmd
Just use "open [path_to_dir]" in Unix or "start [path_to_dir]" in Windows as:
open . #Open current directdory in Unix
start . #Open current directory in Windows