Check in the Supervisor guide how import/export of users and groups can be automated using a text file. There is also a chapter about deleting users in a batch. That should help you.
honnestly, maybe such stuff can appears a bit boring but the best and safe way to achieve it is still doing it manually. How many time will you wast to study an automation process which is still dangerous when it is about deleting. My advise. Put your mp3 player on and do it manualy…
In 6.5, deleting users is much safer than in XI. If you use the Import file method, it can create an undo file – if you need to re-create any users, they can just be imported from the undo file.
There is no automated process for deleting users’ personal folders, though; you’d have to work out a DOS script to delete the directories.