Posted by member 256241 on 2007-11-11 16:40:04
Hello people.
I have made a quicklaunch type thing, and I want it to extract a likely name from the filename. I have a value with a path in it, ie: c:\folder\file.exe...
I only want text after the last backslash, and before the last period (becoming "file")
*script exec !varset path "[afterLast(%{path}, ' \ ')]" doesn't work. I don't know how to get it to work with a variable.
Can anyone give me any pointers with this?
Thanks for reading.
I have made a quicklaunch type thing, and I want it to extract a likely name from the filename. I have a value with a path in it, ie: c:\folder\file.exe...
I only want text after the last backslash, and before the last period (becoming "file")
*script exec !varset path "[afterLast(%{path}, ' \ ')]" doesn't work. I don't know how to get it to work with a variable.
Can anyone give me any pointers with this?
Thanks for reading.