Variables in FileSets

Hey,

I have a fileset with Base Directory \%MACHINE1%\C$\DynamicX and include patterns of dlls and exes.
Basically the thing I need is to iterate through about 50 machines and get the dll and exe file versions of in this folder in those machines.

I built it as:

File Set Define
XML Node itarator (gets the machine addresses and put them in %MACHINE1%)
File Iterator (Iterates the Fileset and set a variable named FILE, full path)
Extract version info (from %FILE%)
Write Ini file (writes the version in the ini file)

The problem is that the MACHINE1 variable in %FILE% seems not to iterate at all. In the Write INI file action I write %MACHINE1% (which is OK) and I write %FILE% which contains the MACHINE1 as it was defined initially. The Refresh FileSet contents before first itarations and after each iteration are checked but it doens’t help.

Can you tell me where is the problem?
Thanks,
NirS

Hi NirS,

Which build are you on? as there was a bug fixed with expanding variables in FileSet patterns I seem to remember.

Could you send us a sample project that shows this behaviour to support please.

cheers,
.t8

I am using version 4.1.0.234

Please let me know if it should be fixed in this version.

Thanks,
NirS


Not sure off the top of my head (will have to check tomorrow).

Here’s the latest build:
https://www.finalbuilder.com/downloads/finalbuilder/420/FB420_283.exe

.t8

I tried this build, same problem.

I sent you a mail with a test project.

Thanks,
NirS


received - thanks. will get back to you.