[vbld_FSO.GetBaseName("%PROJDIR%")]
will give you the directory name of the current .bld file.
It's not clear exactly how you want to parse the value (first item found after a space, first set of digits, etc.). To retrieve the first value between spaces, use
[Split(vbld_FSO.GetBaseName("%PROJDIR%"))(1)]
The code above assumes VBScript is set as the default script language.
|