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 bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Determine if folder is empty?

Status
Not open for further replies.

DavidRock

Programmer
Jul 24, 2002
61
US
Since JS doesn't appear to be able to access a local file syetem, is there a workaround that will allow my script to determine if a folder is empty or not?

Thanks,
David Rock
 

AFAIK, the only way to do this would be to use the ActiveX FileSystemObject control, but that would restrict you to IE only.

Hope this helps,
Dan
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top