I'm attempting to use an inf file to create some custom shortcuts.
Here's part of what I've got in my "shortcut.inf" file:
----------------------------------------
[Version]
Signature=$CHICAGO$
[AddShortcuts]
ProfileItems=WindowsExplorerAdd, InfoAdd
[WindowsExplorerAdd] <---This section works great! Thanks Gosh!
Name = "Windows Explorer"
CmdLine = 10,,explorer.exe
IconPath = 10,,explorer.exe
IconIndex = 1
InfoTip = "@%11%\shell32.dll,-22579"
DisplayResource = "%11%\shell32.dll",22067
[InfoAdd] <---This section blows..
Name = "System Information"
CmdLine = 10,,Info.exe
WorkingDir = 10
IconPath = 10,,Info.exe
IconIndex = 1
InfoTip = "Displays System Resource Information"
----------------------------------------
I'm "testing" using the command: "rundll32 setupapi,InstallHinfSection AddShortCuts 128 .\Shortcuts.inf"
So, why does this create another .lnk file called "Windows Explorer" in my "All Users\Start Menu\Program" directory and not a "System Information" icon??
Thx



Help
Back to top











