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)
"There are many terrorist states in the world, but the United States is unusual in that it is officially committed to international terrorism, and on a scale that puts it's rivals to shame" - Noam Chomsky
Related commands:
Echo, popup - WshShell.Popup
Equivalent Windows NT command:
CD - Change Directory - move to a specific Folder