FinalBuilder fails to go to directory which has '..' path

Hi,

The bug I found is that FinalBuilder failed to recognize relative path which is like '..' , e.g. D:\Work\bt\tools\..\tools\a.txt.

I tried to use 'copy file' action.

"src directory"  D:\Work\bt\tools\..\tools\a.txt

"dest directory"  D:\Temp

The error message I got is that
Failed to copy File : D:\Work\bt\tools\..\tools\a.txt -> D:\Temp
Win32 Error : Access is denied

BTW, The same command is perfectly OK in the DOS environment.

Cheers

Lizzie

 


 

 

Hi

You need to turn on the “Destination is a Directory” option on the action, otherwise the windows copy api will try to create a file with the same name as the folder. This has nothing to do with relative paths (which in this example is redundant since it points back to itself).