This function checks that the path specified in the global variable v7Location is a valid path to the 7-Zip executable. This function is an internal function used by the methods File.zip() and Folder.zip().
Use the function ZipLocation() instead of this function. The function ZipLocation() also checks for a valid path. When the path is not valid, the function shows a dialog with which the user can select the 7-Zip executable.
The function isValid7ZipPath() is located in the file zip.jsxinc.
Usage
if(!isValid7ZipPath()) ZipLocation();//Not a valid path. Let the user choose the path.
Parameters
This function has no parameters.
Return values
| Value | Meaning |
|---|---|
| true | The path in the global variable v7Location points to the 7-Zip executable. |
| false | The path in the global variable v7Location does not point to the 7-Zip executable. |
