Next Topic

Previous Topic

Book Contents

testFile()

Determines if a file exists on a managed machine. Enter the full path and file name. testFile() compares the full path and file name with the supplied value. If the check is true, IF commands are executed. If the check is false, ELSE steps are executed.

Note: Environment variables such as %windir%\notepad.exe are acceptable.

The available tests are:

Example - Core.1 Windows Procedures.Desktops.Machine Control.Networking.Block Websites.Clear All Blocked Websites

If testFile("%windir%\System32\drivers\etc\hosts") Exists