掲示板システム
ホーム
アクセス解析
カテゴリ
ログアウト
Shell関数でIPアドレスをtextファイルに取得するには? (ID:127232)
名前
ホームページ(ブログ、Twitterなど)のURL (省略可)
本文
こんな感じ あとはファイルに出力してね Set WshShell = CreateObject("WScript.Shell") Set oExec = WshShell.Exec("ipconfig -all") Do While True If Not oExec.StdOut.AtEndOfStream Then l = oExec.StdOut.ReadLine Debug.Print l Else Exit Do End If Loop
←解決時は質問者本人がここをチェックしてください。
戻る
掲示板システム
Copyright 2020 Takeshi Okamoto All Rights Reserved.