Wscript.Path

The Path property provides a string containing the name of the directory where Wscript.Exe or Cscript.Exe reside.

Syntax

Wscript.Path  = strPath
 

Example

Wscript.Path = C:\WinNT\System32
 

See Also

Wscript.FullName property