I am trying to whipe clean a Pocket computer from a program on a computer with a disk drive. If I use fs.delete("drive") then it says Access denied. So is it not possible or do I need to use a difrent path?
Whiping all data from a PoC
Started by gril002, May 18 2016 07:47 PM
5 replies to this topic
#1
Posted 18 May 2016 - 07:47 PM
#2
Posted 18 May 2016 - 08:03 PM
If you use fs.delete("/disk/*") it will delete everything on the disk.
#3
Posted 18 May 2016 - 08:05 PM
It could be having problems with deleting the pocket computers ROM folder (drive/ROM), try deleting everything but that folder.
#4
Posted 18 May 2016 - 08:08 PM
Lupus590, on 18 May 2016 - 08:05 PM, said:
It could be having problems with deleting the pocket computers ROM folder (drive/ROM), try deleting everything but that folder.
#5
Posted 18 May 2016 - 08:22 PM
fs.delete("/disk/*") dosen't work. I still get Access denied
#6
Posted 18 May 2016 - 08:28 PM
fs.delete doesn't handle wildcards, it's the shell api that handles the output of fs.find("disk/*") and executes fs.delete on all of the files.
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users











