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

how to check if directory is empty in c

Status
Not open for further replies.

waynejfoster

Programmer
Aug 7, 2001
13
0
0
GB
How the heck do you test if a directory is empty in c (win32/msdos)
without. The only way I can think of is to use _findfirst and check if any files are normal.

I'm sure the is simple... but ....

Thanks in advance

Wayne.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top