View Single Post
Old 9th August 2010, 16:56   #1
Junior Member
Join Date: Aug 2010
Posts: 40
Unhappy Variable in a string

Hello !

I search how to put a variable in a string please.

I explain, I have this:

Var EtudeName
ReadINIStr $R1 $DESKTOP\Data.ini "Data" "EtudeName"
StrCpy $EtudeName $R1
;----Here I have $EtudeName == Tomcat 6.0----
File "C:\Program Files\Admin builder\$"

But it don't work !
The command File said that it doesn't find the file "C:\Program Files\Admin builder\$"
It is normal because I want to have "C:\Program Files\Admin builder\Tomcat"

I tried with '$EtudeName' or with "$EtudeName", ... I tried everything but...

Please help... =(
Noude is offline   Reply With Quote