How to extract Last string in one line (Windows NT SHELL script)# Unix - 噫吁兮,危乎高哉
M*t
1 楼
I know how to do in Unix script.
but I don't know how to do it in Windows(NT) DOS script.
string is "c:\a\b\c\d\file"
How can I write the script to return "file" only from above string?
[Note: the above string is just an example, it stands for any path with any
length.]
Thanks a lot!
but I don't know how to do it in Windows(NT) DOS script.
string is "c:\a\b\c\d\file"
How can I write the script to return "file" only from above string?
[Note: the above string is just an example, it stands for any path with any
length.]
Thanks a lot!