本帖最后由 kn007 于 2009-6-22 13:54 编辑
最后的要求就不帮你了If MsgBox(8484, "欢迎使用文件夹个性图标制作小工具", "说明:首先将你喜欢的图标文件(.ico)重命名为1.ico 并放到你要制作的文件夹内;好了,是否立即创建?",5) = 6 Then
If FileExists(@ScriptDir & "\desktop.ini ") then FileDelete(@ScriptDir & "\desktop.ini ")
FileOpen(@ScriptDir & "\desktop.ini ",1)
FileWrite(@ScriptDir & "\desktop.ini ","[.ShellClassInfo]"&@CRlf)
FileWrite(@ScriptDir & "\desktop.ini ","IconFile=.\1.ico"&@CRlf)
FileWrite(@ScriptDir & "\desktop.ini ","Iconindex=0 "&@CRlf)
FileWrite(@ScriptDir & "\desktop.ini ",@CRlf)
FileClose(@ScriptDir & "\desktop.ini ")
FileSetAttrib(@ScriptDir & "\desktop.ini", "+S", 1)
MsgBox(64, "个性图标制作完成", "By kn007 E-Mail : kn007@126.com",3)
Else
Exit
EndIf
|