China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --

Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
DOS stands for freedom, openness and progress. Let us work hard, learn from the openness and GNU spirit of FreeDOS and Linux, and together build and grow a free GNU GPL world!

中国DOS联盟论坛
The time now is 2026-07-22 18:16
中国DOS联盟论坛 » DOS启动盘 & LOGO技术 (启动盘室) » Ask about the meaning of SET LGLDRV= in WIN98 AUTOEXEC.BAT? View 2,962 Replies 5
Original Poster Posted 2006-08-11 08:33 ·  中国 四川 成都 电信
初级用户
Credits 46
Posts 21
Joined 2006-08-06 17:24
19-year member
UID 59971
Status Offline
The AUTOEXEC.BAT in the WINDWOS 98/ME boot disk has 2 lines:

set LglDrv=27 * 26 Z 25 Y 24 X 23 W 22 V 21 U 20 T 19 S 18 R 17 Q 16 P 15

  set LglDrv=%LglDrv% O 14 N 13 M 12 L 11 K 10 J 9 I 8 H 7 G 6 F 5 E 4 D 3 C

What is the meaning, principle and usage of this?
Thanks
Floor 2 Posted 2006-08-11 21:00 ·  中国 上海 电信
中级用户
★★
论坛第一菜鸟
Credits 361
Posts 166
Joined 2006-04-15 13:23
20-year member
UID 53870
Status Offline
This is for this line of service:
call setramd.bat %LglDrv%

set LglDrv=27 * 26 Z 25 Y 24 X 23 W 22 V 21 U 20 T 19 S 18 R 17 Q 16 P 15
set LglDrv=%LglDrv% O 14 N 13 M 12 L 11 K 10 J 9 I 8 H 7 G 6 F 5 E 4 D 3 C

It is to set the %LglDrv% memory variable.
One line is up to 127 characters, so two lines are typed.
Confirm the available drive letters at the front for the memory drive to use.
Diskette Operating System
Floor 3 Posted 2006-08-11 21:22 ·  中国 四川 成都 电信
初级用户
Credits 46
Posts 21
Joined 2006-08-06 17:24
19-year member
UID 59971
Status Offline
Thanks.
So, how is this confirmation action done? CALL SETRAMD.BAT %LglDrv% is in the back. The.Llgldrv variable is assigned values from 27 to 3 in turn. I think there should be an IF statement or something that keeps looping.
Floor 4 Posted 2006-08-12 12:24 ·  中国 上海 静安区 电信
中级用户
★★
论坛第一菜鸟
Credits 361
Posts 166
Joined 2006-04-15 13:23
20-year member
UID 53870
Status Offline
When booting, press SHIFT+F8 (step-by-step boot) for debugging, and you will be able to see the specific steps.
Diskette Operating System
Floor 5 Posted 2010-11-08 02:14 ·  中国 广东 佛山 电信
初级用户
Credits 59
Posts 28
Joined 2010-11-05 01:45
15-year member
UID 177110
Gender Male
Status Offline
What does the value of the LglDrv variable, which is a long string, mean? Please have an expert explain it.
Floor 6 Posted 2010-11-08 09:13 ·  中国 湖北 天门 电信
中级用户
★★
Credits 208
Posts 135
Joined 2009-09-12 12:00
16-year member
UID 151902
From 离恨天
Status Offline
Oh my god, the thread starter doesn't even understand such a simple batch processing. Speechless....
Forum Jump: