Quick Hits: VBScript / WSH Script How to Reference Current Directory
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 »