Information générale
Catégorie:
Programmation Orientée Object
Terry,
Probably you can go this way:
1. first find the Application NAme associated with "zip" extension, which should give the fullpath of winzip.exe (you may find the code here);
2. then having the fullpath you may start search in the directory and its subdirectories for specified file.
>My project is required to work with content packaged in zip files. My client sent me their "full" version of the Winzip command line service.
>
>I would need to test for the existance of the DLL and then path it in a "ShellExecute". The "entire" path is required to make the "wzcline" call.
>
>I am entertaining string the path to the winzip folder with the "wzcline" DLLs - but that seems so retro. Should expect Winzip and wzcline to always be under "Program Files\Winzip"?
>
>Is there a way to determine where "wzcline" is? I could add a GETPATH() call and let the user "browse" for the location as part of a start up configuration - but there must be a smarter way.
>
>Thanks
>Terry
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement