10/02/02 14:51:04 CQ6jBDni0
>>148
WSHで。
ショートカットを作る例。値の取得もCreateShortcutで可能。後は適当にループ回す。
set WshShell = WScript.CreateObject("WScript.Shell")
strDesktop = WshShell.SpecialFolders("Desktop")
set oShellLink = WshShell.CreateShortcut(strDesktop & "\Shortcut Script.lnk")
oShellLink.TargetPath = "c:\~\a.exe"
oShellLink.Arguments = """d:\~\b.txt"""
oShellLink.WindowStyle = 1
oShellLink.Hotkey = "CTRL+SHIFT+F"
oShellLink.IconLocation = "notepad.exe, 0"
oShellLink.Description = "Shortcut Script"
oShellLink.WorkingDirectory = strDesktop
oShellLink.Save