[tips0008.vbs] Option Explicit WScript.Echo "開始: " & Time() If WScript.Arguments.Count > 0 Then WScript.Sleep(1000 * WScript.Arguments.Item(0)) End If WScript.Echo "終了: " & Time()
C:\> cscript //NoLogo tips0008.vbs 5 開始: 15:12:00 終了: 15:12:05