variable inside a variable

Im trying to set a variable from within a script with the value of another variable inside it.

FILE=/home/transfer/$ACCOUNTINPUT_sendscript.sh

This doesnt seem to work... Can anyone be kind enough to tell me why? :slight_smile:

FILE="/home/transfer/${ACCOUNTINPUT}_sendscript.sh"
FILE=/home/transfer/${ACCOUNTINPUT}_sendscript.sh

Syntax should be like this.

thank you, would you believe it, i worked it out 2mins after i posted... Thanks anyway.