or just run dir from your perl script, pipe it if you like. Extract info from output.
In reply to Re: hard drive space by Cop in thread hard drive space by Anonymous Monk