File.Delete

sultan87

Active Member
Licensed User
Longtime User
Hello
I wish to remove all the files from a folder

File.Delete(File.DirRootExternal & "/Gestion_Caves/Images/Etiquettes/Grandes/","*.*")

how to make?

Best Regards
 

Azhar

Active Member
Licensed User
Longtime User
Hello All,

Can you actually delete a file from the DirInternal? I'm having terrible problems just trying to do this:
File.Delete(File.DirInternal,"userLocations.txt")

it's in the MAIN Activity_Create Sub

And then in another code module where I create the file in the same directory as here:
writer.Initialize(File.OpenOutput(File.DirInternal,"userLocations.txt",False))
....
upon return to MAIN>Activity_Resume sub, it can't find it:
If File.Exists(File.DirInternal,"userLocations.txt") Then...

Azhar
 
Upvote 0
Top