GEOSoft Posted May 20, 2008 Share Posted May 20, 2008 If the drive is known or suspected of having bad sectors then yoou should be running chkdsk before format. The time lost is worth the effort. George Question about decompiling code? Read the decompiling FAQ and don't bother posting the question in the forums.Be sure to read and follow the forum rules. -AKA the AutoIt Reading and Comprehension Skills test.*** The PCRE (Regular Expression) ToolKit for AutoIT - (Updated Oct 20, 2011 ver:3.0.1.13) - Please update your current version before filing any bug reports. The installer now includes both 32 and 64 bit versions. No change in version number. Visit my Blog .. currently not active but it will soon be resplendent with news and views. Also please remove any links you may have to my website. it is soon to be closed and replaced with something else. "Old age and treachery will always overcome youth and skill!" Link to comment Share on other sites More sharing options...
goldenix Posted October 16, 2009 Share Posted October 16, 2009 (edited) Im confused now, I want to format my D drive to ntfs & secure erase all data (means not quick format) & set new volume So I want to do it like every time I shut down pc so, will this code work ? $drive = 'd:' $format = 'NTFS' ; not FS:NTFS ? $volume = 'PageFile' Runwait(@ComSpec & " /k "& "format $drive /$format /q /v:$volume /y",@WindowsDir,@SW_SHOW) winclose("C:\WINDOWS\system32\cmd.exe");Windows XP Edited October 16, 2009 by goldenix My Projects:[list][*]Guide - ytube step by step tut for reading memory with autoitscript + samples[*]WinHide - tool to show hide windows, Skinned With GDI+[*]Virtualdub batch job list maker - Batch Process all files with same settings[*]Exp calc - Exp calculator for online games[*]Automated Microsoft SQL Server 2000 installer[*]Image sorter helper for IrfanView - 1 click opens img & move ur mouse to close opened img[/list] Link to comment Share on other sites More sharing options...
TurionAltec Posted October 16, 2009 Share Posted October 16, 2009 A Full (non-quick) format does not secure wipe data. All it does is verify it can read the disk without any problems.To secure erase requires the use of another program like Eraser, which allows for command line options.http://eraser.heidi.ie/It is for this mistaken reason that thousands of computers are thrown out by companies with confidential data still readable on the disk. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now