Results 1 to 13 of 13

Thread: Whats the exe for format in win xp ?

  1. #1

    Thread Starter
    Frenzied Member Jmacp's Avatar
    Join Date
    Jul 2003
    Location
    UK
    Posts
    1,959

    Whats the exe for format in win xp ?

    ^^ ?

  2. #2
    Frenzied Member vbNeo's Avatar
    Join Date
    May 2002
    Location
    Jutland, Denmark
    Posts
    1,994

    Re: Whats the exe for format in win xp ?

    Originally posted by Jmacp
    ^^ ?
    Do you want to format your system drive? If so, go get yourself a win9x boot disk...

    Both win95 and win98 has the famous Format.com, so if you need it for an application you could extract that as well - if you haven't used it before, the syntax is:
    format.com c: <--

    Cheers!
    "Lies, sanctions, and cruise missiles have never created a free and just society. Only everyday people can do that."
    - Zack de la Rocha


    Hear me roar.

  3. #3
    Frenzied Member Ideas Man's Avatar
    Join Date
    Aug 2002
    Location
    Australia
    Posts
    1,718
    Still format.com i think. You goto the Command Prompt and type in format a: and it formats. It'd be in either C:\WINDOWS\ or C:\WINDOWS\system32
    I use Microsoft Visual Basic 2005. (Therefore, most code samples I provide will be based around the .NET Framework v2.0, unless otherwise specified)

  4. #4

    Thread Starter
    Frenzied Member Jmacp's Avatar
    Join Date
    Jul 2003
    Location
    UK
    Posts
    1,959
    Originally posted by Ideas Man
    Still format.com i think. You goto the Command Prompt and type in format a: and it formats. It'd be in either C:\WINDOWS\ or C:\WINDOWS\system32
    Ok thanks.

  5. #5
    Monday Morning Lunatic parksie's Avatar
    Join Date
    Mar 2000
    Location
    Mashin' on the motorway
    Posts
    8,169
    That formats as FAT32. If you want to format as NTFS, use a Windows 2000/XP install CD.
    I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
    -- Linus Torvalds

  6. #6
    Retired VBF Adm1nistrator plenderj's Avatar
    Join Date
    Jan 2001
    Location
    Dublin, Ireland
    Posts
    10,359
    I thought this was going to be a question about the format of exe files under Windows XP :shrug:
    Microsoft MVP : Visual Developer - Visual Basic [2004-2005]

  7. #7
    Retired G&G Mod NoteMe's Avatar
    Join Date
    Oct 2002
    Location
    @ Opera Software
    Posts
    10,190
    Originally posted by plenderj
    I thought this was going to be a question about the format of exe files under Windows XP :shrug:

    That was my first thought too...so I had to read the subject line again before I understood the first post....

  8. #8
    Fanatic Member
    Join Date
    Sep 2000
    Posts
    770
    Originally posted by parksie
    That formats as FAT32. If you want to format as NTFS, use a Windows 2000/XP install CD.

    or..... Format c: /FS:NTFS at the command line works too

  9. #9
    Fanatic Member cid's Avatar
    Join Date
    Nov 2002
    Location
    Fort Worth, Texas
    Posts
    854
    Just a little tid bit of useless info:
    Code:
    format A: /autotest /u
    This little line will format a floppy but it does it unconditionally and on top of that autotest will format a floppy without asking the famous y/n question. So basically if the virus inserts this code into the autoexec.bat in win98 your screwed because it wont ask if you want to it just acts on its own.
    exp:

    in win98- only:
    Code:
    format c: /autotest /u
    this trick only works in win98. it is one of those secret tricks not known in dos.

    www.google.com - Pay Tribute.

    Always Listening To: Thrice

  10. #10

    Thread Starter
    Frenzied Member Jmacp's Avatar
    Join Date
    Jul 2003
    Location
    UK
    Posts
    1,959
    hi,

    i was just looking for the actual executable file so i could open via vb, i was making an app that incorporated formatting.

  11. #11
    Frenzied Member Ideas Man's Avatar
    Join Date
    Aug 2002
    Location
    Australia
    Posts
    1,718
    Yeah, simply call the format thing with the answer in it i think

    VB Code:
    1. Shell "format.com a: /y"

    or something like that.
    I use Microsoft Visual Basic 2005. (Therefore, most code samples I provide will be based around the .NET Framework v2.0, unless otherwise specified)

  12. #12
    Member
    Join Date
    Jul 2002
    Posts
    55
    Anyone know why /autotest was removed in windows xp's format.com ?

    Is there any other way of formatting a drive in windows xp without having to answer to the 'y/n' question?

  13. #13
    Frenzied Member Ideas Man's Avatar
    Join Date
    Aug 2002
    Location
    Australia
    Posts
    1,718
    Simply use format a: /y.

    I tried it and it worked perfectly.

    in VB, use:
    VB Code:
    1. Shell "format a: /y"
    I use Microsoft Visual Basic 2005. (Therefore, most code samples I provide will be based around the .NET Framework v2.0, unless otherwise specified)

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