'mkreboot.vbs '(C) Windows98.FAQ http://homepage2.nifty.com/winfaq/ 'This script make reboot icon at the Windows Desktop. WScript.Echo "デスクトップに「再起動」アイコンを作成します。" Set WShell = WScript.CreateObject("WScript.Shell") PathDesktop = WShell.SpecialFolders("Desktop") Set logoffShortcut = WShell.CreateShortcut(PathDesktop+"\再起動.lnk") logoffShortcut.TargetPath = "Rundll32" logoffShortcut.Arguments = "Shell32.dll,SHExitWindowsEx 2" logoffShortcut.IconLocation = "Shell32.dll,27" logoffShortcut.Description = "Windows を再起動します。" logoffShortcut.Save()