Changes
added code to detect WPKG.utility component automatically
'''Scriptlet Library:'''<br>
Please note: These scripts need amendments made to them to locate the WPKG.Utility .wsc file.<br>The WPKG.Utility component can be detected, if you place it into the same folder as the scripts.<br>You will have to replace the two lines setting ''utilityPath'' and ''utility'' at the top of the scripts.<source lang="javascript">var fso = new ActiveXObject("Scripting.FileSystemObject");var path = WScript.ScriptFullName;var base = fso.GetParentFolderName(path);var utilityPath = fso.BuildPath(base, "Utility-V110-01.wsc");var utility = GetObject("script:" + utilityPath);</source>
'''DiskTotal.js''' - Checks a drive for a given total space.<br>