RE: Directory empty?
"Terwelp, Jeff" <[email protected]>
| Newsgroups | gmane.comp.windows.autoit.user |
|---|---|
| Message-ID | <1A533EC38656E14FBD6A00995500743C061834A4@MIL-EXMB-01.us.rwbaird.com> |
DirGetSize() in extended mode will return the file and subfolder count. There is a good example in the help file. Jeff ________________________________ From: [email protected] [mailto:[email protected]] On Behalf Of marcuseq2 Sent: Monday, December 11, 2006 11:18 AM To: [email protected] Subject: [AutoIt] Directory empty? Ok...I'm going insane. All I want to do is check and see if a directory is empty or not. Ideally, I want a loop that checks every so many minutes for files. Once it see's that the directory is empty, I want a msgbox to pop up telling me it's empty. Msgbox = no problem While loop = no problem Checking for no files in directory = me pulling out the rest of my hair. Any ideas from you pros? Almost bald in TN ********************************************************************** Robert W. Baird & Co. Incorporated does not accept buy, sell or other transaction orders by e-mail, or any instructions by e-mail that require a signature. This e-mail message, and any attachment(s), is not an offer, or solicitation of an offer, to buy or sell any security or other product. Unless otherwise specifically indicated, information contained in this communication is not an official confirmation of any transaction or an official statement of Baird. The information provided is subject to change without notice. This e-mail may contain privileged or confidential information or may otherwise be protected by other legal rules. Any use, copying or distribution of the information contained in this e-mail by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer on which it exists. Baird, in accordance with applicable laws, reserves the right to monitor, review and retain all electronic communications, including e-mails, traveling through its networks and systems. E-mail transmissions cannot be guaranteed to be secure, timely or error-free. Baird therefore recommends that you do not send any sensitive information such as account or personal identification numbers by e-mail. ********************************************************************** [Non-text portions of this message have been removed]