Global

Members

(constant) __dirname :string

Source:

The parent directory path of __filename. Note the difference from process.cwd that is WScript.CreateObject('WScript.Shell').CurrentDirectory

Type:
  • string

(constant) __filename :string

Source:

The script file path which is specified 1st argument by cscript.exe or wscript.exe. It is not this script path.

Type:
  • string