The problem is the space character in the file name. Try:system "(df -mg;) >\"$fileLoc\" &";
Shawn , that adjustment didn't work for me.sh: -c: line 1: syntax error near unexpected token `">/Users/mini/diskSpaceLog/081201 diskSpace.txt"'
sh: -c: line 1: `(df -mg;) ">/Users/mini/diskSpaceLog/081201 diskSpace.txt" &' -David -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/