Quick References
      ADO
      ASP
      CSS2
      HTML
      JavaScript
      Jet SQL
      VBScript
      WML
      WMLScript
      WSH
      XHTML
      XML DOM
      XSLT

Features
      Knowledge Base
      Tutorials

Partners
     ZVON.ORG
     XML
     Planet Source Code
     VisualBuilder
     Web Design
     Your HTML Source
     XML/XSLT Forums
     ASPAlliance
     Scripts
     
     Programmers Heaven
     Tek-Tips Forums
     Developer Fusion
     Code Project











Property:  WScript.Path

WScript.Path

The Path property is read only and returns the full path to the directory containing the host executable file (wscript or cscript). There is no final "\" at the end of the returned string.

The following VBScript code illustrates the use of this property.

Code:
WScript.Echo "Path to WSH =", WScript.Path

Output:
Path to WSH = C:\WINNT\system32

 


Copyright 1999-2005 by Infinite Software Solutions, Inc. All rights reserved.
Trademark Information