Site Tools


Sidebar

New release candidate 3 available: 2020-06-09 "Hogfather". upgrade now! [51.2] (what's this?)
New release candidate 2 available: 2020-06-01 "Hogfather". upgrade now! [51.1] (what's this?)
New release candidate available: 2020-06-01 "Hogfather". upgrade now! [51] (what's this?)
Hotfix release available: 2018-04-22c "Greebo". upgrade now! [50.3] (what's this?)
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: 2020/02/26 17:10 (external edit)