Author Archives: Brian Gonzalez

Quick Hits: VBScript / WSH Script How to Reference Current Directory

By | January 1, 2011
Share

Vbscript does not include a variable populated with the current directory in which the script is called.  They do however include two other variables that give us the ability to dynamically grab this string: Wscript.ScriptFullName = Full Path and Name of script ( ie. c:\Folder\SubFolder\Script.vbs ) Wscript.ScriptName = Name of Script ( ie. Script.vbs )… Read More »