WshScript.CurrentDirectory

Retrieve or change the current active directory.The CurrentDirectory returns a string that contains the fully-qualified pathname of the current working directory

Syntax 
      object.Echo [Arg1] [,Arg2] [,Arg3] ... 

Arguments:


Example
set WshShell = WScript.CreateObject ("WScript.Shell")
WScript.Echo (WshShell.CurrentDirectory)

Related commands:

Echo, popup - WshShell.Popup

Equivalent Windows NT command:

CD - Change Directory - move to a specific Folder



Back to the Top

Simon Sheppard
SS64.com