Good Day,
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:
@echo off
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.
Kind Regards,
Telomeres
25-06-2014
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:
@echo off
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.
Kind Regards,
Telomeres
25-06-2014