- 151 名前:名無しさん@お腹いっぱい。 mailto:sage [2010/02/02(火) 14:51:04 ID: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
|

|