In VBScript how to separate Test1_QTP folder name alone from the below path. I need to extract "Test1_QTP" string into a variable.
C:\TeamTask\Automation\Daily\EB\20140508\Test1_QTP
Any suggestions are appreciated.
Dim strMyPath, strFileName
strMyPath = "C:\TeamTask\Automation\Daily\EB\20140508\Test1_QTP"
strFileName = Mid(strMyPath, InStrRev(strMyPath, "\") + 1)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With