Thanks. You’re right that cmd /c is involved. Windows requires quoting around filenames containing commas, but I’ve also confirmed a bug in how Objo passes those quotes to CMD. Simply adding quotes therefore doesn’t solve it.
I’ve logged the quoting bug, which affects both Shell.Start and Shell.Execute.
For opening your PDF, try System.OpenURL with a file URL. This bypasses CMD and asks Windows to open the document in its default application:
If Not System.OpenURL("file:///C:/Users/Eric/Desktop/Smith,John.pdf") Then
System.ErrorPrint("Could not open the PDF.")
End If
Use forward slashes in the file URL, as shown above. This should let you keep the commas in your filenames.