Hi,
I need to be able to copy a directory structure. There is no Copy Directory (only a move directory), so I used the CopyFiles action with . and recurse. The problem is it doesnt copy empty directories, which can be a problem in build environments where these things break stuff.
It would be great if there was a copy directories action or an option in copy files to copy empty directories.
Thanks
Toby Allen
QUMAS
Hi Toby,
You’re right - but I wouldn’t classify this as a “bug”
I’ll mark it down on the feature suggestions list.
In the meantime you could try using the XCopy action and specify the “Create Directory Structure (does not copy files)” option.
cheers,
tate.
Hi Guys,
I think the workaround for this is to use the XCopy action. Then go to the Action Inspector and add and go to “ExtraCmdLineParamAtEnd” and add the value /e.
This works fine with my test scripts.
Shey
Shey,
I have the same problem with XCopy and do not know where Action Inspector is. Can you provide the steps to set this up or a screen shot?
Jody
Hi Jody,
The Action Inspector is one of the three tabs on the left hand side of the FinalBuilder IDE (Project, Action Types, Action Inspector). You might have to use the left/right arrows to scroll the tab control to show the Action Inspector if you have the main FB IDE window too small to show all three tabs at a time.
hth.
.t8