2010年2月28日日曜日

VBScript:カレントディレクトリの表示

Option Explicit

Dim objWShell

Set objWShell = CreateObject("WScript.Shell")

WScript.Echo "カレントディレクトリ= " & objWShell.CurrentDirectory

Set objWShell = Nothing

0 件のコメント: