^^ ?
Printable View
^^ ?
Do you want to format your system drive? If so, go get yourself a win9x boot disk...Quote:
Originally posted by Jmacp
^^ ?
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!
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.Quote:
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
That formats as FAT32. If you want to format as NTFS, use a Windows 2000/XP install CD.
I thought this was going to be a question about the format of exe files under Windows XP :shrug:
Quote:
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....
Quote:
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
Just a little tid bit of useless info:
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.Code:format A: /autotest /u
exp:
in win98- only:
this trick only works in win98. it is one of those secret tricks not known in dos.Code:format c: /autotest /u
hi,
i was just looking for the actual executable file so i could open via vb, i was making an app that incorporated formatting.
Yeah, simply call the format thing with the answer in it i think
VB Code:
Shell "format.com a: /y"
or something like that.
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?
Simply use format a: /y.
I tried it and it worked perfectly.
in VB, use:
VB Code:
Shell "format a: /y"