User Tools

Site Tools


Sidebar

misc:isvalid7zippath

isValid7ZipPath

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.

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
misc/isvalid7zippath.txt · Last modified: 2017/05/25 14:53 by Willam van Weelden