Execute Condition using PowerShell

Hi, I want to check for the existence of a folder before running a build step.
I added a simple:
Test-Path ‘C:\some\path’ which of course works as expected in a PowerShell.

However, in FinalBuilder 8, the condition always evaluates to True, regardless of the path provided.

Any Ideas?


Hi Thomas

It’s a bug. I’m not sure when this started happening, but the powershell api was returning a different object to what we were previously expecting. This build has the fix


Note that another option is the If File/Folder Exists action.