|
|
#1 |
|
Junior Member
Join Date: Sep 2006
Posts: 12
|
How to load any XML files ?
Hello,
i'm try to load and XML file. I use the function : "nsisXML::load /NOUNLOAD "$EXEDIR\Filename.XML" but i would like to open any XML file created in the exe directory : "*.xml". From what i've seen, the command "*.xml" doesn't work ... Please, can anybody tell me how to process ? Thanks Bertrand |
|
|
|
|
|
#2 |
|
Senior Member
Join Date: Dec 2005
Location: Glow
Posts: 285
|
nsisXML doesn't probably support wildcard file names. But you can do the same thing with nsis by using FindFirst, FindNext and FindClose.
FindFirst $0 $1 "$EXEDIR\*.xml" StrCmp $1 "" +2 nsisXML::load /NOUNLOAD "$EXEDIR\$1" ... |
|
|
|
|
|
#3 |
|
Junior Member
Join Date: Sep 2006
Posts: 12
|
thanks so much
I'm going to try it !!
Thanks so much for the reply !! Bertrand |
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|