Creating a batch to determine if HD is NTFS if not format it NTFS

Discussion in 'Computer Support' started by Tech, Apr 6, 2004.

  1. Tech

    Tech Guest

    G'day,

    I was looking to create a batch file that I could put on a bootdisk that
    would tell if the Hard drive was NTFS and if is wasn't would automatically
    format it NTFS.
    Thanks
    Adam
    Tech, Apr 6, 2004
    #1
    1. Advertising

  2. Tech

    PuddleNuts Guest

    Re: Creating a batch to determine if HD is NTFS if not format itNTFS

    Tech wrote:

    > G'day,
    >
    > I was looking to create a batch file that I could put on a bootdisk that
    > would tell if the Hard drive was NTFS and if is wasn't would automatically
    > format it NTFS.
    > Thanks
    > Adam

    Just run FDISK, if it's formatted in NTFS you may need to download
    DELPART to remove NTFS partition information. Any worthwhile OS will
    have these tools in the setup.

    --
    Your proctologist called, they found your head.
    PuddleNuts, Apr 6, 2004
    #2
    1. Advertising

  3. Tech

    Palindrome Guest

    Re: Creating a batch to determine if HD is NTFS if not format itNTFS

    Tech wrote:

    > G'day,
    >
    > I was looking to create a batch file that I could put on a bootdisk that
    > would tell if the Hard drive was NTFS and if is wasn't would automatically
    > format it NTFS.
    > Thanks
    > Adam


    If you have a DOS batch file running on a boot disk, it won't be able to
    open an NTFS volume. So the error level on dir c:/*.* should do. If you
    want to be sure, get the error level like that and then run an NTFS DOS
    reading utility and then dir c:/*.* again. If it is NTFS formatted, the
    error level should change because the NTFS volume will then be readable.
    Palindrome, Apr 6, 2004
    #3
  4. Tech

    Plato Guest

    Tech wrote:
    >
    > I was looking to create a batch file that I could put on a bootdisk that
    > would tell if the Hard drive was NTFS and if is wasn't would automatically
    > format it NTFS.


    In order to format to ntfs, the partiton has to be setup in ntfs first.
    I do not believe one can do this with a single bootdisk.


    --
    http://www.bootdisk.com/
    Plato, Apr 6, 2004
    #4
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Guan Foo Wah

    NTFS quick format and normal format

    Guan Foo Wah, May 1, 2004, in forum: MCSE
    Replies:
    2
    Views:
    19,834
    Steven Howes
    May 9, 2004
  2. Gavin
    Replies:
    4
    Views:
    8,506
  3. david

    when is a format not a format.

    david, Dec 20, 2004, in forum: Computer Support
    Replies:
    3
    Views:
    349
    Ditoa
    Dec 20, 2004
  4. Paul in Toronto

    batch format conversion

    Paul in Toronto, Dec 15, 2005, in forum: Digital Photography
    Replies:
    7
    Views:
    288
    Matt Ion
    Dec 17, 2005
  5. =?Utf-8?B?U3VwZXJjaGVm?=

    Creating a batch file

    =?Utf-8?B?U3VwZXJjaGVm?=, Mar 23, 2006, in forum: Windows 64bit
    Replies:
    4
    Views:
    530
    Charlie Russel - MVP
    Mar 24, 2006
Loading...

Share This Page