中国DOS联盟论坛

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-06 06:04
47,812 topics / 349,914 posts / today 0 new / 48,268 members
DOS启动盘 & LOGO技术 (启动盘室) » Seek help on partitioning a disk under DOS and copying files to a specified partition
Printable Version  2,382 / 1
Floor1 lovef7 Posted 2010-07-04 11:29
初级用户 Posts 12 Credits 28
I used the USB flash drive to mass-produce. I put a GHOSTXP.GHO into the CD-ROM partition of the USB flash drive.

I want to use the USB flash drive to boot and then copy this GHO file to the hard disk partition and run GHOST to restore it to the first partition of the disk. But I don't know how to assign drive letters to the disk partitions under DOS, and it's best to support NTFS partitions.

For example, after mass-producing the USB flash drive, there are two partitions, one is the CD-ROM partition and the other is the FAT partition.

The GHO file and GHSOT.EXE are in the root directory of the CD-ROM.

There are two situations for the hard disk partitions: the first partition is a FAT32 partition or the first partition is an NTFS partition.

Now I want to use the USB flash drive to boot and assign drive letters to the CD-ROM, the USB FAT partition, and the two hard disk partitions as C: D: E: F: respectively.

Then copy the GHO file in the root directory of the CD-ROM to the F: drive, and then start the CD-ROM's GHOST.exe to restore the GHO file in the F: drive to the E: drive.

Is there a friend who can help write a batch script? Thank you.
Floor2 DXSX Posted 2010-07-19 12:46
中级用户 Posts 147 Credits 247
http://www.cn-dos.net/forum/viewthread.php?tid=49971&fpage=1
My DOS Toolbox

DOS device drivers include NTFS partition support, CD-ROM support, and USB device support
System backup and restore contains the functions you need
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023