I want to use the FileCount.vbs(a template provided by Solarwind) to monitor the numbers of files in a special folder. The script worked quite well in DOS with this command: cscript FileCount.vbs [filefolderpath]. But I copy the same script to the script body of Windows Script monitor, and the same filefolderpath to script arguments, the results turned to be FileFolder not found.
Is there any special requirements of define the path in script arguments?