I am trying to open up a file using the shell command. The deal with the file is i will not know its file type/extension. When i open up a command prompt, i can just type in "lookatme.jpg" and the default viewer for .jpg opens up.
But, when i try
process_id = Shell("start " & Chr$(34) & file_name & Chr$(34))
process_id = Shell( file_name)
where file_name is "C:\temp\myfile.jpg", i am getting errors back.
Any thoughts on how to fix this / what i need to do?
Thanks a bunch