Page tree
Skip to end of metadata
Go to start of metadata



Introduced in

Version:2.12

Description

Description:

Removes files from the watchlist specified in fileWatch.

The filter for the file(s) to be removed does not have to match the one from fileWatch. It is possible to just remove a subset of files, while others are still being watched (for example, the following example script watches all *.log files, with the exception of backup.log):

fileWatch "*.log";
fileUnwatch "backup.log";

Syntax

Syntax:fileUnwatch filter
Parameters:
  • filter: String - File name, or full path to file to remove from the watchlist. Typical windows wildcards (* or ?) can be used on the file name (but not the path). If no path is specified, then the installation folder is used.
Return Value:Nothing

Examples

Examples:
fileUnwatch "d:\vbs2\data\myData.txt"
fileUnwatch"*.log"

Additional Information

See also: fileWatch, FileChanged
Multiplayer: 
Problems: 

Notes