光盘里面无非是有一个
autorun.inf文件
一般都是这么写的
open是打开的文件名,icon是图标[autorun]
open=autorun.exe
icon=setup.exe
然后你用vb做一个autorun.exe文件
里面写代码为
Private Sub Form_Load()
Shell "D:\Program Files\Tencent\QQ.exe"
End Sub
把它刻到你的光盘里面就可以了
autorun.inf文件
一般都是这么写的
open是打开的文件名,icon是图标[autorun]
open=autorun.exe
icon=setup.exe
然后你用vb做一个autorun.exe文件
里面写代码为
Private Sub Form_Load()
Shell "D:\Program Files\Tencent\QQ.exe"
End Sub
把它刻到你的光盘里面就可以了
Private Sub Form_Load()
Shell "D:\Program Files\Tencent\QQ.exe"
End Sub
是我随意写的
shell "explorer.exe " & left(app.path,3),vbnormalfocus
这个绝对没有问题,我试过了