![]() |
China DOS Union-- Unite DOS · Advance DOS · Grow DOS --Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum |
| Guest | Log in | Register | Members | Search | China DOS Union |
|
中国DOS联盟论坛 The time now is 2026-08-16 17:37 |
47,813 topics / 349,903 posts / today 0 new / 48,259 members |
| DOS疑难解答 & 问题讨论 (解答室) » How to write a batch program to format a hard disk |
| Printable Version 1,374 / 4 |
| Floor1 jack* | Posted 2004-05-27 00:00 |
| 初级用户 Posts 1 Credits 109 | |
|
I've heard before that you can write batch programs to format hard drives. Please, great experts, give me some pointers. I'd like to thank you in advance here, little brother.
|
|
| Floor2 foxrao | Posted 2004-05-28 00:00 |
| 初级用户 Posts 9 Credits 146 | |
| Floor3 zhri | Posted 2004-05-28 00:00 |
| 高级用户 Posts 153 Credits 665 | |
|
......
format b: /backup |
|
| Floor4 254613 | Posted 2004-05-29 00:00 |
| 初级用户 Posts 2 Credits 108 | |
| Floor5 ccproxy | Posted 2004-05-29 00:00 |
| 初级用户 Posts 6 Credits 115 | |
|
You can compile a batch file, named FORMAT.BAT, in MS-DOS:
First type: c:>copy con FORMAT.BAT format C: /q format D: /q format E: /q format F: /q ……(There are as many commands as there are partitions, this line does not need to be entered, after editing, press F6 and press Enter to save the file) Second type: C:>EDIT (The following commands are entered in the editing page, this line does not need to be entered) format C: /q format D: /q format E: /q format F: /q ……(There are as many commands as there are partitions, this line does not need to be entered, after editing, press File-->Save-->select the name-->OK to save) |
|
|
[ Contact the Union admin team -
中国DOS联盟 -
Standard version ] Sponsored by ifanr Inc | © 2001–2023 |