Hello,

I am trying to retrieve the current directory using (CSCRIPT v5.1):

Set objShell = WScript.CreateObject("WScript.Shell")
strCurrDir = objShell.CurrentDirectory

I get "object does not support this property or method."

When I use CSCRIPT v5.5 ==> it runs.

I am not going to be able to upgrade the version of CSCRIPT on the system that
will be running this script.

Is there a way to get this information using CSCRIPT v5.1? What is it?

All suggestions will be greatly appreciated.

TIA,
Bill
bill@2burkes.com