![]() |
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-09-23 14:10 |
47,812 topics / 349,917 posts / today 0 new / 48,273 members |
| DOS批处理 & 脚本技术(批处理室) » [Help] Two batch processing issues, one about CD-ROM auto-run, and one about |
| Printable Version 2,051 / 5 |
| Floor1 hzf86cnxp | Posted 2004-12-09 00:00 |
| 初级用户 Posts 10 Credits 133 | |
|
First, talk about format. I posted a while ago that format has an automatic formatting parameter called autotest, but I couldn't run it in actual operation. I don't know why? The command is like this, "format C:/q/u/autotest", and it will prompt that autotest is an invalid parameter. I don't know why? The operating system is win2000 + sp4.
The second question, I have such an idea. Burn a CD, put many software in it, write a batch command, and let the CD run to install automatically. Can batch processing do this? Do the experts have relevant materials on this, share with the novices, thank you. |
|
| Floor2 hzf86cnxp | Posted 2004-12-09 00:00 |
| 初级用户 Posts 10 Credits 133 | |
|
The picture was posted, but I don't know why it didn't appear. Here is the address: http://photoimg7.qq.com/cgi-bin/load_pic?verify=2lXYiHZbHFi%2B5BuBvwDSwA%3D%3D
|
|
| Floor3 Climbing | Posted 2004-12-10 00:00 |
| 铂金会员 Posts 2,753 Credits 6,962 From 河北保定 | |
|
1. Regarding the hidden parameter /autotest of Format, this may be for DOS systems prior to DOS 7.10. The format in Windows 2000 may no longer support this parameter, and how could you format the C drive in Windows 2000?
2. The idea of software integrated installation discs has long been realized by someone. There are many such software, for example, AutoIt or the software integrated installation manager written by yanghaijun in the JUJUMAO forum. The URL of the JUJUMAO forum: http://www.jujumao.com |
|
| Floor4 hzf86cnxp | Posted 2004-12-10 00:00 |
| 初级用户 Posts 10 Credits 133 | |
|
Thanks to the expert for guidance. Then, may I ask, is there a parameter for automatic formatting under win2000/xp?
|
|
| Floor5 Climbing | Posted 2004-12-11 00:00 |
| 铂金会员 Posts 2,753 Credits 6,962 From 河北保定 | |
|
I found the following parameters from format.com in Windows 2003: /? /fs:* /t:* /n:* /8 /4 /1 /a:256k /a:128k /a:64k /a:32k /a:16k /a:8192 /a:4096 /a:2048 /a:1024 /a:512 /f:20.8MB /f:20.8M /f:20.8 /f:2.88MB /f:2.88M /f:2.88 /f:2880KB /f:2880K /f:2880 /f:1.44MB /f:1.44M /f:1.44 /f:1440KB /f:1440K /f:1440 /f:1MB /f:1M /f:1 /f:1.25MB /f:1.25M /f:1.25 /f:1250KB /f:1250K /f:1250 /f:360KB /f:360K /f:360 /f:320KB /f:320K /f:320 /f:256KB /f:256K /f:256 /f:180KB /f:180K /f:180 /f:160KB /f:160K /f:160 /f:1.23MB /f:1.23M /f:1.23 /f:1.2MB /f:1.2M /f:1.2 /f:1232KB /f:1232K /f:1232 /f:1200KB /f:1200K /f:1200 /f:720KB /f:720K /f:720 /f:640KB /f:640K /f:640 /x /y /backup /v:* /v:"" /force /c /q /u /v Among them, there are several hidden parameters, such as: /y /force /backup /u, you have to try what these hidden parameters do, maybe one of them is the automatic parameter. I can't test because I don't have a test environment. The official command syntax of Format: Format a disk for use with Windows. FORMAT volume
FORMAT volume FORMAT volume FORMAT volume FORMAT volume volume Specifies the drive letter (followed by a colon), mount point, or volume name. /FS:filesystem Specifies the file system type (FAT, FAT32, or NTFS). /V:label Specifies the volume label. /Q Performs a quick format. /C Applies only to NTFS: By default, files created on the new volume are compressed. /X Forces the volume to dismount first if necessary. At that time, all open handles to the volume are no longer valid. /A:size Substitutes the default allocation unit size. It is strongly recommended that you use the default setting in general. NTFS supports 512, 1024, 2048, 4096, 8192, 16K, 32K, 64K. FAT supports 512, 1024, 2048, 4096, 8192, 16K, 32K, 64k, (128k, 256k for sectors larger than 512 bytes). FAT32 supports 512, 1024, 2048, 4096, 8192, 16k, 32k, 64k, (128k, 256k for sectors larger than 512 bytes). Note that the FAT and FAT32 file systems have the following restrictions on the number of clusters on the volume: FAT: Number of clusters <= 65526 FAT32: 65526 < Number of clusters < 4177918 If it is determined that the specified cluster size cannot meet the above requirements, the formatting will stop immediately. NTFS compression does not support allocation units larger than 4096. /F:size Specifies the size of the floppy disk to be formatted (1.44) /T:tracks Specifies the number of tracks per side for the disk. /N:sectors Specifies the number of sectors per track. |
|
| Floor6 hzf86cnxp | Posted 2004-12-11 00:00 |
| 初级用户 Posts 10 Credits 133 | |
|
Thanks for the expert's guidance.
|
|
|
[ Contact the Union admin team -
中国DOS联盟 -
Standard version ] Sponsored by ifanr Inc | © 2001–2023 |