Hi Christian
You can use RUN FORMAT A: (or whatever drive) with optional parameters. This should be quite safe. I havent looked but you might be able to find an API function to call the format command? Check the API section.
In the End, we will remember not the words of our enemies, but the silence of our friends - Martin Luther King, Jr.