Ive checked the archives and I cant find any answers about how to delete a printer connection in Win95 or 98?

I have a script that will use Send Keys to add a printer connection, so I'm pretty sure I can create one to delete the printers.

Does anyone know any better way than using send keys?

Are there any pitfalls to look out for when using send keys? i.e will the timing be affected by faster or slower booting machines?

Has anyone got any error trapping script so the script wont get get stuck in a loop etc?

Thanks all.