Results 1 to 3 of 3

Thread: Formatting Hard Drive

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Feb 2000
    Posts
    135

    Post

    hi.. Is there a way to automatically format a disk drive. I have used one method which brings up the format dialog box but does not automatically start formatting. I need to know this as i am writing a backup program which formats the destination drive before the backup program copies every file from C Drive to D Drive. Please help me with this problem

  2. #2
    PowerPoster
    Join Date
    Jul 1999
    Posts
    5,923

    Post

    Investigate the format.com file in windows\command. Might be a help file or something that will allow you to format. It is a dos prog...

  3. #3
    Junior Member
    Join Date
    Feb 2000
    Location
    England
    Posts
    26

    Post

    Try this code, one liner aswell

    Shell "rundll32 shell32,SHFormatDrive"

    Steve

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width