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-06-26 15:34
中国DOS联盟论坛 » 其它操作系统综合讨论区 » [Original] About a small problem with autorun.inf (not sure if it's allowed to ask) View 4,960 Replies 26
Floor 16 Posted 2006-12-07 01:40 ·  中国 河北 廊坊 三河市 移动
金牌会员
★★★★
Credits 2,725
Posts 1,160
Joined 2006-09-23 12:00
19-year member
UID 63486
From 河北廊坊
Status Offline
re lxmxn:

I really don't have time to study too much, so could you please explain it in detail? Thank you very much!
三人行,必有吾师焉。 学然后知不足,教然后知困,然后能自强也。
Floor 17 Posted 2006-12-07 01:50 ·  中国 湖北 武汉 电信
版主
★★★★★
Credits 11,386
Posts 4,938
Joined 2006-07-23 17:10
19-year member
UID 59080
Status Offline

  Re ccwan :

  Hehe, I also don't have time to delve deeply into this. I just looked at the link you posted on the second floor last night and got a bit of inspiration. If I have time, I will definitely write something more detailed, mainly about how to set that data.
Floor 18 Posted 2006-12-07 01:55 ·  中国 河北 廊坊 三河市 移动
金牌会员
★★★★
Credits 2,725
Posts 1,160
Joined 2006-09-23 12:00
19-year member
UID 63486
From 河北廊坊
Status Offline
re lxmxn:

Looking forward to your great work.
三人行,必有吾师焉。 学然后知不足,教然后知困,然后能自强也。
Floor 19 Posted 2006-12-07 04:32 ·  中国 北京 联通
中级用户
★★
带走
Credits 435
Posts 88
Joined 2005-09-24 19:22
20-year member
UID 42793
Status Offline
Actually, the open parameter is only effective for CDs. If you use it on a hard disk or USB flash drive, you can use shellexecute.


shellexecute=explorer c:


The content of autorun.inf. After placing the file on drive D, kill the explorer.exe process, restart the explorer process, and then see if double-clicking drive D has an effect.
Floor 20 Posted 2006-12-13 23:39 ·  中国 北京 丰台区 联通
初级用户
Credits 26
Posts 11
Joined 2006-12-06 06:25
19-year member
UID 72712
Gender Male
Status Offline
Dear friends, the problem of automatic running has been solved now, but when I delete autorun from the root directory, the hard disk still can't be opened by double - clicking. Why is this again?
Floor 21 Posted 2006-12-13 23:46
中级用户
★★
DOS之日
Credits 337
Posts 161
Joined 2006-11-04 05:27
19-year member
UID 69523
Gender Male
Status Offline
Then restart the explorer process.
for /f %%h in (`echo hxuan`) do for /f %%x in (`echo hxuan`) do if %%h==%%x nul
Floor 22 Posted 2006-12-13 23:48 ·  中国 北京 丰台区 联通
初级用户
Credits 26
Posts 11
Joined 2006-12-06 06:25
19-year member
UID 72712
Gender Male
Status Offline
The problem is solved. Thanks, thanks.
Floor 23 Posted 2007-03-13 01:49 ·  中国 北京 海淀区 IDC机房
初级用户
☆流星雨◇帅气冲天狂
Credits 24
Posts 21
Joined 2007-03-09 08:10
19-year member
UID 81176
Gender Male
From 广东
Status Offline
Place the startup file in the AutoRun.inf file in the root directory of the hard disk, but the program can't run no matter what. But I didn't turn off the autoplay, I don't know what's going on?
Floor 24 Posted 2007-03-13 02:04 ·  中国 北京 海淀区 IDC机房
初级用户
☆流星雨◇帅气冲天狂
Credits 24
Posts 21
Joined 2007-03-09 08:10
19-year member
UID 81176
Gender Male
From 广东
Status Offline
Originally posted by ccwan at 2006-12-6 10:38 AM:
Here's an example, download the attachment, place it under D:, restart, then double-click to open the D drive, and let me know what result you see.

[ Last edited by ccwan on 2006-12-6 at 11:47 PM ]



But my Group Policy setting for disabling AutoPlay is: Not Configured
I tried it, but there's no response, and the batch file: 2.bat doesn't automatically run.
I don't know what's going on?
Floor 25 Posted 2007-10-27 16:46 ·  中国 湖南 长沙 电信
新手上路
Credits 2
Posts 1
Joined 2007-10-25 15:42
18-year member
UID 100752
Gender Male
Status Offline
Not bad, looking for it...
Floor 26 Posted 2007-10-29 13:54 ·  中国 江苏 苏州 电信
新手上路
Credits 5
Posts 3
Joined 2007-10-25 13:52
18-year member
UID 100741
Gender Male
Status Offline
After putting the 2 files into the E drive, restart and try.
Floor 27 Posted 2009-04-12 01:49 ·  中国 广东 广州 电信
新手上路
Credits 1
Posts 1
Joined 2009-04-11 10:56
17-year member
UID 142695
Gender Male
Status Offline
Give it a support...
Forum Jump: