From: anon1m0us@... Date: 2006-12-13T00:00:05+09:00 Subject: Directory Size and bolding Excel cells Does anyone know any commands that will tell me the size of a directory? My program needs to scan every user in a OU and inform me how large their roaming profile is. I currently use: result_of_locdsquery = `dsquery user "OU=#{loc},OU=AB,DC=abcd,DC=root,DC=xyz,DC=com" -limit 999 -name "*" | dsget user -samid -profile `.split("\n") result_of_locdsquery.pop #remove the last item of the array result_of_locdsquery.shift #remove the first item of the array counter=2 result_of_locdsquery.each do |line| user, path= line.split(/\s+.\s+/) loc_users=[user] loc_path=[path] result_of_locdiruse = `diruse /m #{path}`.chomp However, this takes forever to do..any shorter way?? In addtion, how do you BOLD and hightlight and excel CELL??