中国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-05 16:02
48,039 topics / 350,124 posts / today 2 new / 48,251 members
DOS批处理 & 脚本技术(批处理室) » At my wit's end, looking for a batch file to search for a partition with a specified volume label, or asking for advice
Printable Version  852 / 4
Floor1 ww111222 Posted 2007-08-24 01:24
中级用户 Posts 83 Credits 354
I previously succeeded with the guidance of an expert, but now under the MSDOS7.1 environment it unexpectedly no longer works properly, and I really can't find where the problem is.



This is the batch file code I'm using now



My environment is VPC2007,


I just tested it and found a strange problem:

On the CD, the virtual A: drive, the virtual x, and even when copied to the hard disk, it still cannot run properly,

but if I use Safe Mode at startup, with nothing loaded, then executing the code copied to the hard disk can correctly find the drive letter,


I don't know why this is.

[ Last edited by ww111222 on 2007-8-24 at 01:38 AM ]

Attachments
FIND.rar (5.67 KiB)
Floor2 zjq20032006 Posted 2007-08-24 01:29
初级用户 Posts 10 Credits 23
You're still working on your Chinese F11? I think it's better to boot with GRUD4dos. You can set hotkeys, write it into the MBR, and it supports Chinese.
Floor3 ww111222 Posted 2007-08-24 01:34
中级用户 Posts 83 Credits 354
I'm running it under hhwwll's Super Chinese MS-DOS7.10 boot disk:

http://www.cn-dos.net/forum/viewthread.php?tid=17237&fpage=1
Floor4 ww111222 Posted 2007-08-24 01:35
中级用户 Posts 83 Credits 354
Originally posted by zjq20032006 at 2007-8-24 01:29 AM:
You're still working on your Chinese F11? I think it's better to boot with GRUD4dos. You can set hotkeys, write it into the MBR, and it supports Chinese.



Yes, I'm also using GRUB4DOS now,


I'm no longer using Nongchaoer's one,


but there is still one problem that hasn't been solved,

namely finding the drive letter for a specified volume label,
Floor5 ww111222 Posted 2007-08-24 22:02
中级用户 Posts 83 Credits 354
Finally figured it out. Turns out there are both find.com and find.exe; using the .exe one works OK.
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023