Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Script to find out how many files are in a folder

Status
Not open for further replies.

at51178

Technical User
Mar 25, 2002
587
0
0
US
Hi,

I'm looking to find out if there is a script where I could find out how many files are in a folder.

Thank You
 
Hello at51178,

Further to JazzFan's advice, this is a near to extreme turn of using what you've read from the link:
[tt]
wscript.echo createobject("scripting.filesystemobject").getfolder("d:\test\abc").files.count
[/tt]
regards - tsuji
 
Thanks a lot guys

that helped a lot

do you know a good website that I could go to for vbscript.

 
at51178,

Ms vbscript documentation (.chm) is a concise and good reference. (free download at ms)

- tsuji
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top