Go Back   Computer Forums > General Computing > Programming
Click Here to Login
Join Computer forums Today


Reply
 
Thread Tools Search this Thread Display Modes
 
Old 08-27-2005, 11:51 PM   #1
Solid State Member
 
cam123's Avatar
 
Join Date: Aug 2005
Posts: 6
Default Make a Automatic hdd formatter.

Hello i was wondering if it was possable to write a program with qbasic that you can just pop in the CD/Floppy and it will format you hard drive(in Ms-Dos mode).

Thanx
__________________

cam123 is offline   Reply With Quote
Old 08-28-2005, 12:03 AM   #2
BSOD
 
Computergen's Avatar
 
Join Date: Dec 2004
Posts: 3,175
Default Re: Make a Automatic hdd formatter.

I believe its possible but not with qbasic a fairly beginner level programming code.
__________________

Computergen is offline   Reply With Quote
Old 08-28-2005, 12:13 AM   #3
Solid State Member
 
cam123's Avatar
 
Join Date: Aug 2005
Posts: 6
Default Re: Make a Automatic hdd formatter.

What type of language do you suggest?(I am 14 do you think Liberty basic will work or a more advanced language)
Thanks for the reply.
cam123 is offline   Reply With Quote
Old 08-28-2005, 12:29 AM   #4
Solid State Member
 
cam123's Avatar
 
Join Date: Aug 2005
Posts: 6
Default Re: Make a Automatic hdd formatter.

How do the programmers ad that anoying product key thing
cam123 is offline   Reply With Quote
Old 08-28-2005, 08:13 AM   #5
In Runtime
 
Modder's Avatar
 
Join Date: Aug 2005
Posts: 171
Send a message via AIM to Modder Send a message via MSN to Modder
Default

you could make a batch script like:

@echo

format c:
format d:


and then could make it autoexec and boot from it on a floppy.
__________________
Athlon 64 3500+ Venice s939 1GB PQI Ram GeForce 6600 GT PCI-E MSI K8N Diamond WD 200GB Sata Hdd Samsung 200GB IDE Hdd
Thermaltake Soprano Black 430Watt
Modder is offline   Reply With Quote
Old 08-28-2005, 04:28 PM   #6
Baseband Member
 
Griz803's Avatar
 
Join Date: Jun 2004
Posts: 89
Default Re: Make a Automatic hdd formatter.

Yes, you can do it with the system command in Qbasic. Or C. But you'd likely be as well off with a batch program running in or from autoexec.bat. That said, you will have to arrange a response file if you want the format commands to run unattended. Be very cautious, lest you format something you do not intend, those confirmations built into the os's format command are there for a reason. Good luck.
__________________
/*What does not kill us, makes us drink far too much caffeine*/
Griz803 is offline   Reply With Quote
Old 08-28-2005, 06:19 PM   #7
Daemon Poster
 
RewtGuy's Avatar
 
Join Date: Dec 2004
Posts: 595
Send a message via AIM to RewtGuy
Default Re: Make a Automatic hdd formatter.

assuming the hd has windows, you could repartition using a file system non fat32 or NTFS you lose all your data when you switch file systems, and it's probably faster to do that than format a huge hd.
__________________
Windows: A thirty-two bit extension and GUI shell to a sixteen bit patch to an eight bit operating system originally coded for a four bit microprocessor and sold by a two-bit company that can't stand one bit of competition.
RewtGuy is offline   Reply With Quote
Old 09-01-2005, 09:57 PM   #8
Solid State Member
 
cam123's Avatar
 
Join Date: Aug 2005
Posts: 6
Default Re: Make a Automatic hdd formatter.

Thanks for the info but I have anoter problem
i crashed my computer on a acedent (i think i moved the autoexec.bat) and i just got my hard drive to boot up with fdisk,but my cdrom drive is not installed so i cant install windows.thanks
__________________

cam123 is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off



All times are GMT -5. The time now is 08:31 AM.


Powered by vBulletin® Version 3.8.8 Beta 4
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Search Engine Friendly URLs by vBSEO 3.6.0