Jadewith,

Are you SURE you're using KiXtart 4.52 beta 2?


I think the problem is you're trying to edit the Function which you DON'T DO. (except to uncomment the DEL part)

You simply tell the script what to do, don't change anything else in the function.

The issue with the DirPlus method is that I don't think there are sufficient checks on the actual profiles which are good which are old etc...

Any of these 3 methods can be made to work I'm sure, but I know my posted version works as I've run it.
I'm reasonably sure that Christophe's works too as he has done a lot of coding.

The method posted by Jadewith can work too, but currently I just don't think it has enough sense in it to do correctly.
 

I'll review my code and Christophe's code to combine the best of both and repost an updated version, though I do know that my already posted version works so not sure how you're calling it.
Without modifying my script can you get it to show the profiles it WOULD remove?
 


Edited by NTDOC (2006-05-11 09:36 PM)