Cableguy Expert Licensed User Longtime User Dec 20, 2023 #1 Hi guys... This seems a simple question but.... I find myself for the first time in need of managing extra folders during development that must later be included in the resulting app... This is my first issue... I have tried to use robocopy, but I'm not sure I am using it right. This is my line: B4X: Copy #CustomBuildAction: folders ready, %WINDIR%\System32\Robocopy.exe,"..\..\Resources\Dir1" "..\Resources\Dir1" /E The source directory is inside the project root.. Then In my code I want to be able to list the files and folders inside this directory "MyApp\Resources\Dir1", but as far as I can tell, my first line is not doing what I am expecting... So I guess if I get the robocopy to work, I can then do the rest...
Hi guys... This seems a simple question but.... I find myself for the first time in need of managing extra folders during development that must later be included in the resulting app... This is my first issue... I have tried to use robocopy, but I'm not sure I am using it right. This is my line: B4X: Copy #CustomBuildAction: folders ready, %WINDIR%\System32\Robocopy.exe,"..\..\Resources\Dir1" "..\Resources\Dir1" /E The source directory is inside the project root.. Then In my code I want to be able to list the files and folders inside this directory "MyApp\Resources\Dir1", but as far as I can tell, my first line is not doing what I am expecting... So I guess if I get the robocopy to work, I can then do the rest...
MicroDrie Well-Known Member Licensed User Longtime User Dec 21, 2023 #2 Perhaps one ../ to many? CustomBuildAction: folders ready, %WINDIR%\System32\Robocopy.exe,"..\..\Resources\Dir1" "..\Resources\Dir1" /E Click to expand... What about? CustomBuildAction: folders ready, %WINDIR%\System32\Robocopy.exe,"..\Resources\Dir1" "..\Resources\Dir1" /E Click to expand... Upvote 0
Perhaps one ../ to many? CustomBuildAction: folders ready, %WINDIR%\System32\Robocopy.exe,"..\..\Resources\Dir1" "..\Resources\Dir1" /E Click to expand... What about? CustomBuildAction: folders ready, %WINDIR%\System32\Robocopy.exe,"..\Resources\Dir1" "..\Resources\Dir1" /E Click to expand...