ä»åã¯OSã®èå¥ï¼XP以å¤ã¯åä½ä¸å¯ã¨ããï¼ã³ã¼ããèããã NT4.0æ代ã§ã¯OSã®ãVerãã³ãã³ãã使ç¨ãã¦æ¯ãåãã¦ãããä½æ ãVBAã§ã¯ã¨ã©ã¼ã¨ãªãã è¨è¿°ããã³ã¼ãã¯ä»¥ä¸ã®éãã 1: Set objSll = CreateObject("WScript.Shell") 2: Set objExec = objSll.Exec("ver") 3: Do Until objExec.StdOut.AtEndOfStream 4: ãstrLine = objExec.StdOut.ReadLine 5: ãDebug.Print(strLine) 6: Loop 2è¡ç®ã§ãæå®ããããã¡ã¤ã«ãè¦ã¤ããã¾ãããã¨ãªãã ä»æ¹ãªãä»ã®ã³ã¼ããããã£ã¦è¦ãããã®ææ³ã¯æ§ã ã ã ç§ã管çãã¦ããç°å¢ã§ã¯ããå¾ãªããã¨ã ããWin95ã98çã§ãã°ã¤ã³ããã¦ãã¨ã©ã¼ã¨ãªããªãã³ã¼ãã«ããã
{{#tags}}- {{label}}
{{/tags}}