Program to format hard drive

I am not sure if this is the right place to ask this, so I apologise if it is not. But i was wondering if someone could help me with a little bit of code.

I am about to travel to the middle east for work. And its not the safest of places these days. I have been looking around to try and find some basic coding that will delete my hard drive when pressed. Something basic like a notepad file saved as a .exe/.bat that I can just run in case of a emergency.

Having looked around I have found this: format c:\ /Q/X
Which i belive will do the trick, but I also use a external hard drive, and Pen drives. How could i impliment the code to delete these as well. And to also run after reboot onces used. (incase i try to run it and the laptop is turned off, or power is cut)

Thank you

(its going to be ruin on a windows 7 laptop)
Formatting does not destroy any data.
Just encrypt your drives.

And no, it's not the right place to ask as it has nothing to do with C++.
Last edited on
Topic archived. No new replies allowed.