cles::blog 平常心是道 blogs: cles::blog NP_cles() « 新サーバに移行しました :: BROZERS' » 2009/03/30 batを実行したときのウィンドウが出ないようにする windows bat vbs 510 4へぇ Windowsサーバ用にバッチを作ってタスクで自動起動するようにしてみたのですが、起動時間になると突然画面に黒いウィンドウが出てきて邪魔なので、何とかする方法がないかと探してみたらvbsを使ってbatを起動するとウィンドウを非表示にできることがわかりました。 バッチ処理のDOSウィンドウを消したい -OKWave VBScriptを使いましょう。 以下の部分をrun.vbsとか名前を付けて保存して下さい。 Dim WShell Set WShell = WSCript.CreateObject("WScript.Shel