If you have Windows7.iso image, you can make your flash drive to format your PC by using special software.
Requirements:
-- higher operating system than XP SP2
-- .Net framework 2.0
-- Microsoft Image Mastering API V2
You can download these option, go to http://download.cnet.com/Windows-7-USB-DVD-Download-Tool/3000-18513_4-10972600.html