The Count property returns the number of items in the Files collection. Enter the name of a folder which contains files. onClick='getCount(document.form1.file.value)'>