I have (after work script) - Cannot locate plugin service file.deleteold Error occured near line 11 which contained: file.deleteold(7,folder)
Version PowerPro 4.4.08 --- In [email protected], "brucexs" <[EMAIL PROTECTED]> wrote: > > > Hi Alan: > Welcome back! > The latest beta 4.4.08 has some additions to file.allfiles (and > listfiles) to make recursing folders only easier. > > Also, I am not sure if you script will work exactly as is, as the > foldervar is a local, so (if things work the way they are supposed > to!) there will be a new version of this variable created when you > call the routine again at the entrypoint [EMAIL PROTECTED] (You could use a > static instead of a local). > > I hope you don't mind the following suggested change, based on your > idea, and the new file.allfiles: > > ;------------------- > ; start of script > ; > [EMAIL PROTECTED](?"c:\temp") > [EMAIL PROTECTED](?"c:\windows\temp") > [EMAIL PROTECTED](?"C:\Documents and Settings\snowman\Local Settings\Temp") > quit > > @deleter > args folder > file.deletold(7,folder) > file.allfiles(folder,"file.deleteold(7,_file_)",5) > ; in above, 5=only folders and process all subfolders > quit > > > ;---------------------------- > ;end of script Attention: PowerPro's Web site has moved: http://www.ppro.org Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/power-pro/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
