What is this?

This knowledgebase contains questions and answers about PRTG Network Monitor and network monitoring in general.

Learn more

PRTG Network Monitor

Intuitive to Use. Easy to manage.
More than 500,000 users rely on Paessler PRTG every day. Find out how you can reduce cost, increase QoS and ease planning, as well.

Free Download

Top Tags

View all Tags

Demo EXE - Returns number of files in folder (parameter).exe what parameters do i need to use?




I am trying to use the 'Demo EXE - Returns number of files in folder (parameter).exe' exe to bring back the number of files in a folder, but i am unsure of what parameters to use ie to specify the folder path etc?

Could someone please help me out.

Many Thanks AJ.

demo-exe---returns-number-of-files-in-fo parameters vbscript

Created on May 3, 2013 11:14:03 AM

1 Reply



This depends on what type of file you are trying to query.

If you are trying to query a file that is on the network, you would either have to map the network drive to your probe device and create the sensor there or create the device where the folder in question is stored and then put in the file path.

Either way, that exe needs to point to a local path e.g.

%programfiles%\PRTG Network Monitor


C:\Program Files (x86)\PRTG Network Monitor

Created on May 3, 2013 1:05:47 PM by  Greg Campion [Paessler Support]

Disclaimer: The information in the Paessler Knowledge Base comes without warranty of any kind. Use at your own risk. Before applying any instructions please exercise proper system administrator housekeeping. You must make sure that a proper backup of all your data is available.