Trying to run a program with a path /release/0.0.0.100/program.exe
where /release
always contains only one folder with a changing version number in the pattern of \d.\d.\d.\d\d\d
. Is there a way to find /
and run the program using wsh javascript or other scripting language?
Tell me more
×
Stack Overflow is a question and answer site for
professional and enthusiast programmers. It's 100% free, no registration required.
|
||||
|
This regex will do the match part, I modified your expression so that the dots where also escaped
Although if your version numbers could ever contain double digits like the 23 in
|
|||
|