To get the current path using VBScript you can use the snippet below.
Samples
VBScript Sample
1 2 3 4 5 6 7 |
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: