Old 12th May 2018, 09:31   #1
fghongrois
Junior Member
 
Join Date: May 2018
Posts: 1
Instruction File associated with variable

This portion of script works very well :

File "C:\images\*.*"

but this one is KO :

Var R1

$R1 = "C:\images\*.*"

File $R1

Why ???

Thank you !
fghongrois is offline   Reply With Quote
Old 12th May 2018, 11:20   #2
Anders
Moderator
 
Anders's Avatar
 
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 4,911
Variables can only be used at run-time, you must use a !define in your case.

IntOp $PostCount $PostCount + 1
Anders is offline   Reply With Quote
Reply
Go Back   Winamp & SHOUTcast Forums > Developer Center > NSIS Discussion

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