>_END_ is also an error. Should be: __END__ That's two "_" on either side. Taking the other advice, I was able to get your script functional, but the output is probably NOT what you expect: path to desktop folder is> MyrmiDonna:Desktop Folder MyrmiDonna:System Folder:Apple Menu Items amnu MyrmiDonna:System Folder:Shutdown Items shdf MyrmiDonna:System Folder:Control Panels ctrl MyrmiDonna:System Folder:Startup Items strt MyrmiDonna:Desktop Folder desk MyrmiDonna:System Folder macs MyrmiDonna:System Folder:Extensions extn MyrmiDonna:Temporary Items temp MyrmiDonna:System Folder:Fonts font MyrmiDonna:Trash trsh MyrmiDonna:System Folder:Preferences pref That's the paths to the standard folders and their TYPEs, not the files therein. Unless that's what you WANT, you've still got some work to do. --B Brian McNett, Webmaster ************************************************************* Mycoinfo. The world's first mycology e-journal. http://www.mycoinfo.com/ ************************************************************* # ===== Want to unsubscribe from this list? # ===== Send mail with body "unsubscribe" to macperl-request@macperl.org