07-18-2007, 05:29 PM
This works with most programs:
Sometimes may need to enclose in quotes, especially if contains spaces:
Sometimes the path must not contain spaces, and quotes are not supported. Then make short path:
Sometimes the command line must (or can) include something more. When a document type is associated with a program, you can see the command line in the registry, HKEY_CLASSES_ROOT. Replace %1 with the document path.
Sometimes may need to enclose in quotes, especially if contains spaces:
Sometimes the path must not contain spaces, and quotes are not supported. Then make short path:
Sometimes the command line must (or can) include something more. When a document type is associated with a program, you can see the command line in the registry, HKEY_CLASSES_ROOT. Replace %1 with the document path.
