tanmayt Posted June 6, 2019 Posted June 6, 2019 Hello friends i am trying to make a script and need some help with it. I don't know its a bug or what but whenever I use command to delete a folder it doesn't get deleted. os.remove("/storage/emulated/0/Android/data/com.rekoo.pubgm/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Logs") This code should delete the target directory but it isn't working. But whenever I select a particular file to delete it works. Quote os.remove("/storage/emulated/0/Android/data/com.tencent.ig/cache/GCloud.ini")
Administrators Enyby Posted June 6, 2019 Administrators Posted June 6, 2019 1 hour ago, 268296_1434557595 said: This code should delete the target directory No. No any way for delete folder.
tanmayt Posted June 6, 2019 Author Posted June 6, 2019 3 hours ago, Enyby said: No. No any way for delete folder. Can you please add a command for deleting all in folders files by extension type. For example Spoiler os.remove("/storage/emulated/0/Android/data/com.rekoo.pubgm/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Logs/*.log")
Administrators Enyby Posted June 6, 2019 Administrators Posted June 6, 2019 No. Because it will end up call something like this: os.remove("/storage/emulated/0/Notes/*.lua")
Question
tanmayt
Hello friends i am trying to make a script and need some help with it.
I don't know its a bug or what but whenever I use command to delete a folder it doesn't get deleted.
os.remove("/storage/emulated/0/Android/data/com.rekoo.pubgm/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Logs")
This code should delete the target directory but it isn't working.
But whenever I select a particular file to delete it works.
3 answers to this question
Recommended Posts
Archived
This topic is now archived and is closed to further replies.