>Have you declared the FSO variable? What kind of error >message do you get? > >This _should_ work: >var fso = new ActiveXObject("Scripting.FileSystemObject"); > Thanks Filip that worked fine... Bad habit I had of not declaring the variable since I have been using PHP