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.ScriptFullName

WScript.ScriptFullName

The ScriptFullName property is read only and returns the full path and filename to the script currently being executed.

The following VBScript code illustrates the use of this property inside a script called "test.vbs" located in the root directory of the C: drive.

Code:
WScript.Echo "Path to current script =", WScript.ScriptFullName

Output:
Path to current script = C:\test.vbs

 


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