Running robocopy as pre-build event?
Posted: 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.
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.