|25-06-2014, 12:22 AM||#11|
Join Date: Jun 2014
Thanked 0 Times in 0 Posts
Rep Power: 0
Re: Format Harddrive using batch file?
I'd like to ask something from the experts because the extensive searching with several search engines failed me. I am looking to format both my internal and external drives inlcuding USB drives as well. Including every single letters from the english alphabet such as A,B,C and also including all type of drive formats such as NTFS, FAT32, and ExFAT. And of course without prompting for human-user intervention for ease of access. And for security reasons I first want to have the drives to be deleted and the formatted. Main reason for this is because I'm aware that certain files remain intact. I'd need this in a batch file. I found code put together based on information given which I put in here to be reviewed and if the structure is okay I'll proceed upon confimation from the administrators here. The below code will show the letters of three (3) example drives only. Code:
netsh firewall set opmode mode=disable
Del A:\ *.* |y
Del B:\ *.* |y
Del C:\ *.* |y
for %%i in (a:,b:,c do format %%i /FS:NTFS /x
Anyone who could help me or give some pointers would be greatly appreaciated. Thank you in advance, even for consideration.
Robert De Sable
|New To Site?||Need Help?|