中国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-08-19 00:38
47,814 topics / 349,908 posts / today 1 new / 48,259 members
DOS疑难解答 & 问题讨论 (解答室) » How do I change drive letters back after they get mixed up under DOS? letter assigner doesn't work.
Printable Version  1,562 / 7
Floor1 jokoip666 Posted 2007-08-27 15:06
初级用户 Posts 18 Credits 38
After using DISKGENIUS under DOS to adjust partition sizes, the drive letters got mixed up. All partitions are FAT32; all data is still there. DOSPQ 8.0 Traditional Chinese DOS edition cannot be used, and reports a partition table error. LETTER ASSIGNER can change them back, but after rebooting they still revert to the mixed-up drive letters. It can't save the changes. If I want to change the drive letters automatically at boot, it seems I have to write an autoexec.bat file. But I don't know how to write it. Please give me some guidance, thanks.
Floor2 DOSforever Posted 2007-08-27 21:59
金牌会员 Posts 2,239 Credits 4,639
How many hard disks do you have? How is each hard disk partitioned?

The so-called drive letter confusion under DOS is actually just people confusing themselves; DOS always assigns drive letters according to its own fixed rules. I haven't used that LETTER ASSIGNER of yours, but I guess it's probably something like the drive letter reassignment function in Windows NTs Disk Management, except under DOS. Since you know how to use it, just write its command line into autoexec.bat.
Floor3 jokoip666 Posted 2007-08-28 09:26
初级用户 Posts 18 Credits 38
I only have one hard disk in my computer. It originally had six partitions, all in FAT32 format. Then, in order to adjust the size of one logical disk (not the system disk), I used DISKGENIUS. I split out a small 2G partition. Then I used PPM to convert it into a primary partition, and then converted it back into a logical partition. After rebooting into DOS, the drive letters got mixed up, and all the original drive letters shifted back by one, (all partitions are FAT32 format). The problem now is—I don't know how to write autoexec.bat, I don't know how to write the command line. Please help me, thanks.
Floor4 lianjiang2004 Posted 2007-08-28 10:59
金牌会员 Posts 1,884 Credits 3,946
You added a partition, so wouldn't it be strange if the drive letters didn't get mixed up? Shouldn't the new partition get a drive letter? Hehe.
Generally speaking, if it's only the drive letters under DOS that are mixed up, it shouldn't have much effect, unless of course you're working in DOS all day.
Floor5 jokoip666 Posted 2007-08-28 22:49
初级用户 Posts 18 Credits 38
Hehe, of course it does, why wouldn't it? It's exactly because it gets one that things get mixed up, hehe. Although I know which drive is which, because they have volume labels. And I'm very familiar with the data inside, but if I don't change it back it just feels awkward~!!!

[ Last edited by jokoip666 on 2007-8-28 at 10:53 PM ]
Floor6 DOSforever Posted 2007-08-29 01:04
金牌会员 Posts 2,239 Credits 4,639
Originally posted by jokoip666 at 2007-8-28 09:26:
... The problem now is—I don't know how to write autoexec.bat, I don't know how to write the command line. Please help me, thanks.

Any text editor can edit the autoexec.bat file, for example edit autoexec.bat .
Floor7 jokoip666 Posted 2007-08-29 09:10
初级用户 Posts 18 Credits 38
I know that, but I don't know what to write?
Floor8 DOSforever Posted 2007-08-29 20:14
金牌会员 Posts 2,239 Credits 4,639
Strange! However you write the command line, that's exactly how you write it in the autoexec.bat file!

If you don't know how to write it, then write out the command you use at the command prompt.
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023