P POURYA1020 New Member Dec 7, 2017 #1 Hi, I wanted to know how to copy a file with a suffix to the folder that the user specifies. I added this file to the program folder, actually the file in my application folder was copied to the selected folder. thank you
Hi, I wanted to know how to copy a file with a suffix to the folder that the user specifies. I added this file to the program folder, actually the file in my application folder was copied to the selected folder. thank you
Erel B4X founder Staff member Licensed User Longtime User Dec 8, 2017 #2 You can use File.Copy to copy files. If the file was added to the Files tab then you should use B4X: File.Copy(File.DirAssets, "yourfile", <target folder>, "yourfile") Upvote 0
You can use File.Copy to copy files. If the file was added to the Files tab then you should use B4X: File.Copy(File.DirAssets, "yourfile", <target folder>, "yourfile")
P POURYA1020 New Member Dec 8, 2017 #3 Thank you for your reply, but when it clicks, this error "Access is denied" will be displayed Upvote 0
Erel B4X founder Staff member Licensed User Longtime User Dec 10, 2017 #4 I'm sorry but I don't understand the question or problem. Upvote 0