Prev Previous Post   Next Post Next
Old 9th August 2010, 16:56   #1
Noude
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\$EtudeName.zip"

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

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

Please help... =(
Noude is offline   Reply With Quote
 
Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

Tags
bonjour, file, put, string, variable

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump