How can I get a file count in a specific folder?
Posted on 2014-11-25
I would like a script that I can run which will produce an output file which numbers the file count in a specific folder.
For instance at this path: C:\data\, I would like to run a script, not to be kept within the data folder, but externally, which would produce a text file which lists the amount of files found in the data folder.
If there are 2 files, I would like the output file to be produced, called files.txt, and within the files.txt file it should list the following: 2 files found, and the time stamp as well.
The files.txt should be created at C:\filecount\ folder.