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!
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.
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.
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?
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?
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?