07-06-2011, 05:26 PM
I think this may help you
Thanks
Gowtham
Code:
set WshShell = WScript.CreateObject("WScript.Shell")
Dir=WshShell.CurrentDirectory
arrydir=split(dir,"\")
msgbox arrydir(ubound(arrydir))
Thanks
Gowtham