Home | Blog | Software | Reviews and Features | Forum | Help | Donate | About us
topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • December 07, 2016, 02:26:00 PM
  • Proudly celebrating 10 years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: IDEA:Something that will tell you wether a folder is empty or not.  (Read 7250 times)

fantum

  • Participant
  • Joined in 2005
  • *
  • default avatar
  • Posts: 2
    • View Profile
    • Donate to Member
As simple as this seems, I can't find a prog that will simply tell you if a folder is empty or if it contains something.  I would like to be able to punch in a hot key to run the prog, and it could simply say folder not empty or folder empty.  Any ideas?  Thnx

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 36,409
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: IDEA:Something that will tell you wether a folder is empty or not.
« Reply #1 on: May 14, 2005, 05:53:35 PM »
this isnt a direct answer to your question, but Directory Opus (a very expensive replacement for windows explorer), has a very nice feature that calculates folder contents sizes, and is wonderful for the kind of thing you are asking, allowing you to see at a glace what folders have stuff in them and how much..

there are some free file explorer replacements, maybe one of them has something similar?

tenseiken

  • Columnist
  • Joined in 2005
  • ***
  • Posts: 136
    • View Profile
    • Boredom Solutions
    • Donate to Member
Re: IDEA:Something that will tell you wether a folder is empty or not.
« Reply #2 on: May 14, 2005, 06:35:59 PM »
Yeah, Directory Opus has this, but to be honest, it's one of the things that Xplorer2 does better.
-John

fantum

  • Participant
  • Joined in 2005
  • *
  • default avatar
  • Posts: 2
    • View Profile
    • Donate to Member
Re: IDEA:Something that will tell you wether a folder is empty or not.
« Reply #3 on: May 14, 2005, 07:00:46 PM »
Thank you for the suggestions.  I will try those. 

nudone

  • Cody's Creator
  • Columnist
  • Joined in 2005
  • ***
  • Posts: 4,117
    • View Profile
    • Donate to Member
Re: IDEA:Something that will tell you wether a folder is empty or not.
« Reply #4 on: May 15, 2005, 02:36:39 AM »
again, i'm not going to be of the greatest help but i'm sure that i've seen one or two little apps that claimed to monitor and report whether a folder contained anything or not.

they might not have strictly monitored if the folder was empty. i think they observed if new files had been placed in the folder - would that be enough.

if i can find them i'll let you know but they must have been things i've seen over at shellcity.net or nonags.com.

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 36,409
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: IDEA:Something that will tell you wether a folder is empty or not.
« Reply #5 on: May 15, 2005, 03:12:23 AM »
well there are a bunch of apps to monitor specific directories and do stuff when a file appears in them, either alert you or process name in some way.

but i read the question as being that fantum was browsing directories in explorer and wanted to know if folders were empty without navigating into them.

directory opus is nice about that.

tenseiken says xplorer^2 does it better than dir opus.. i didnt know that.  tenseiken how is it better?

tenseiken

  • Columnist
  • Joined in 2005
  • ***
  • Posts: 136
    • View Profile
    • Boredom Solutions
    • Donate to Member
Re: IDEA:Something that will tell you wether a folder is empty or not.
« Reply #6 on: May 15, 2005, 10:54:36 AM »
I assumed the same thing as you did, mouser.  Anyway, I think it's better because in Directory Opus, you have the option of having it scan the size of each folder all the time, or by hovering your mouse over a folder for a moment.  In Xplorer2, you just hit a hotkey and it does it for you.  I like that more because this isn't a feature I tend to use very often, but when I do, I usually want to see the size of all the subfolders, and I don't want to hover my mouse over each item until it shows up, nor do I want to hunt through the huge options panel for it.
-John

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 36,409
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: IDEA:Something that will tell you wether a folder is empty or not.
« Reply #7 on: May 15, 2005, 12:33:05 PM »
well it sounds like xplorer does precisely what fantum wanted.

skrommel

  • Fastest code in the west
  • Developer
  • Joined in 2005
  • ***
  • Posts: 886
    • View Profile
    • 1 Hour Software by skrommel
    • Donate to Member
Re: IDEA:Something that will tell you wether a folder is empty or not.
« Reply #8 on: August 06, 2005, 08:28:30 PM »
 :) IsEmpty - Check if a folder is empty

Change the folder= in the settings below to the folder you want to check.
Change the countfolders= to 0 to ignore folders in the check.

Download and install AutoHotKey from www.autohotkey.com. Save the script as IsEmpty.ahk and doubleclick to run.

Skrommel


;IsEmpty.ahk
; Check if a folder is empty
;Skrommel @2005

;Settings
folder=C:\Temp
countfolders=1


;Script
counter=0
Loop,%folder%\*.*,%countfolders%
  counter+=1
If counter=0
  MsgBox,Folder %folder% is empty.
Else
  MsgBox,Folder %folder% is NOT empty.
Exit
Please stop by my site at  1 Hour Software by skrommel  for downloads and more info.

skywalka

  • Member
  • Joined in 2005
  • **
  • Posts: 253
    • View Profile
    • Donate to Member

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 36,409
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: IDEA:Something that will tell you wether a folder is empty or not.
« Reply #10 on: August 23, 2005, 02:39:22 AM »
nice find skywalla -

foldersize looks great (assuming you don't have this feature in your file explorer already).

seeing folder sizes is one of my favorite things missing from normal windows explorer - it really is *extremely* useful.