Running robocopy as pre-build event?

This forum is for all Flare issues not related to any of the other categories.

Running robocopy as pre-build event?

Postby oceanclub on Tue Sep 28, 2021 10:18 am

I tried a robocopy command following as a pre-build event but it doesn't appear to work:

robocopy ..\wiki Content\wiki /MIR

I then tried putting it into a prebuild.bat file at the same level as my project file and calling _that_ as a pre-build event command but that didn't work either.

Does anyone know how this might be accomplished within the target?

EDIT: For the Pre-Built Event Command field I've tried:

"$(ProjectDirectory)\prebuild.bat"

and

start "$(ProjectDirectory)\prebuild.bat"

The later caused a command window to pop up with nothing happening. I'm not sure I'm going wrong as based on the official help and also this page, a simple reference to a BAT file should work:

https://help.madcapsoftware.com/flare20 ... Events.htm

https://www.linkedin.com/pulse/one-flar ... -williams/

EDIT 2: According to Madcap this is a bug.....

P.
User avatar
oceanclub
Sr. Propeller Head
 
Posts: 259
Joined: Thu Oct 10, 2013 4:45 am
Location: Dublin

Return to Flare's General Discussion

Who is online

Users browsing this forum: No registered users and 16 guests