To get the current path using VBScript you can use the snippet below.
Samples
VBScript Sample
msgbox GetCurrentFolder()
Function GetCurrentFolder()
Dim FSO
Set fso = CreateObject("Scripting.FileSystemObject")
GetCurrentFolder= FSO.GetAbsolutePathName(".")
End Function
If you have any questions or suggestions feel free to rate this snippet, post a comment or Contact Us via Email.
Related links:
RT @CodeSnippetsNET: https://t.co/BCoJb93bhE | Get the current path using #VBScript #scripting #coding #developer #programming
RT @CodeSnippetsNET: https://t.co/BCoJb93bhE | Get the current path using #VBScript #scripting #coding #developer #programming
RT @CodeSnippetsNET: https://t.co/BCoJb93bhE | Get the current path using #VBScript #scripting #coding #developer #programming