WshScript.CurrentDirectory

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

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

Make a Free Website with Yola.