Page 1 of 1

Keyword: FILEMON - File monitor

Posted: Wed Sep 29, 2021 9:51 am
by YiMeng
Description
  • File monitor for a specified directory. Filters through all files within the directory.
  • To monitor files recursively within a directory, the keywork will be FILEMONR.


Parameters
  • x: The directory path; Do not use quotes for path with spaces.
  • y: The command
  • %FILE%: Returns file full path
  • To enable recursive use FILEMONR as keyword

Usage
  • FILEMON x >> y
  • FILEMON @@ >> DISPMSG %FILE%
    • Filters through current working directory then displays all filenames within the directory.
  • FILEMONR @@ >> DISPMSG %FILE%
    • Filters through current working directory recursively, then displays all filenames within the directory and subdirectories.