Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

VB Script that formats XP/Win 2k3 disks

Status
Not open for further replies.

TechCarnivore

Technical User
Apr 13, 2006
249
US
I don't know VB Script well enough to fulfill my request.
I would like to know how to generate a script that would format a disk drive. I have slackers in remote offices that would benifit from the least amount of resistance, in terms of erasing old disks, or reformating drives allocated for reuse.

IE what is easiest when in comes to formating drives for reuse and or throwing them away while being comfortable that the information is destroyed, short of throwing the disk out a 20 story window.

Would prefer a simple software solution.

 
You can automate any command line command like this"

Code:
Set WSHShell = Createobject("Wscript.Shell")
WSHShell.Run("CMD.EXE /c format F:")

However you may want to look at using a utility that does a true wipe of information.

Many examples found here:

I hope you find this post helpful.

Regards,

Mark

Check out my scripting solutions at
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top