Hi,
is it possible to create folders inside the 'Files' folder of the project (to organize files) ?
i tried but it ends in error with file not found exception.
Moving the files directly into the Files folder of the project works fine:
I would like to keep files organized in folders in the project, sometime they are so much.
The same code (with folders inside 'files' folder) works with B4A
is it possible to create folders inside the 'Files' folder of the project (to organize files) ?
B4X:
'the files for maintenance are in the maintenance dir inside dirasset, always copy these files when run the app
File.Copy(File.DirAssets, "maintenance\login.html",Mndir,"login.html")
File.Copy(File.DirAssets, "maintenance\admin.html",Mndir,"admin.html")
File.Copy(File.DirAssets, "maintenance\error.html",Mndir,"error.html")
i tried but it ends in error with file not found exception.
Moving the files directly into the Files folder of the project works fine:
B4X:
File.Copy(File.DirAssets, "login.html",Mndir,"login.html")
File.Copy(File.DirAssets, "admin.html",Mndir,"admin.html")
File.Copy(File.DirAssets, "error.html",Mndir,"error.html")
The same code (with folders inside 'files' folder) works with B4A
Last edited: