ipconfigã³ãã³ããå®è¡ããieãç¨ãã¦ã¯ãªãããã¼ãã«å ¥ããã cmd =WScript.CreateObject("WScript.Shell"); exe=cmd.Exec("ipconfig.exe"); s=exe.StdOut.ReadAll(); ip=/\d+\.\d+\.\d+\.\d+/.exec(s)[0]; ie=WScript.CreateObject('InternetExplorer.Application'); ie.navigate('about:blank'); ie.Document.parentWindow.clipboardData.setData('text',ip); ie.Quit(); å¿ããªãããã«æ¸ãã¦ããããéä¸çµæãåºåãããã¨ãã«ã¯WScript.echo(s);
{{#tags}}- {{label}}
{{/tags}}