PDA

View Full Version : Square Brackets in OS Execute paths



Ron
October 13th, 2002, 12:55 PM
or type

www.test[[1].com

this prevents girder from expanding but it does cut the second bracket.

Francois
October 13th, 2002, 12:55 PM
BobP2,

This is not a bug...

In many (most?) girder commands, if you put one of the variables between brackets, girder will substitute the brackets and the variable name with the content of this variable. For instance

if you have a Variable Maniplation Script as follows:

string favoritewebsite;
favoritewebsite="www.google.com";


and if you had the OS Execute file box set to [favoritewebsite]

then, each time you would execute your command, google would be launched...

Now, if you want to have a filename with brackets, a solution is to put the filename in a variable and do as above.

For instance:

favoritewebsite="www.test[1].com"

I have found this to be very useful... but got tricked as you did initially
:wink:

Eiffel

BobP2
October 13th, 2002, 12:55 PM
I do not know if this is a bug in 3.1, and whether it is known or not but if you put a path in the OS Execute file box that has square bracets, when it is executed the file execution fails with an error reporting that the file does not exist and the destination reported is missing the square brackets and everything within.

Hope this is useful
Bob