Correct command line
file name for first read
need full path of cmd