Is there a way of clearing the files on a tablet?

Solved
TW
Tim Wright
tmplant

Hi all, 

Is there a way of clearing files on a tablet without physically going into them? Is there a script that can be used which would clear soti download files using the scheduled task?

2 years ago
SOTI MobiControl
ANSWERS
RC
Raymond Chan Diamond Contributor
2 years ago

On Android 10 device , you should be able to use the script

   del %sdcard%/Download/*

to remove all files under the Download directory (but NOT recursively to any sub-directory) in the internal Flash file-system (i.e. NOT on the external SD-Card as suggested by the name of the macro).

Solution
RS
Rafael Schäfer
2 years ago

Just to add: If you want to execute this script regulary you can (depending on your Mobicontrol Version) do this via Task profile on regular base.

RC
Raymond Chan Diamond Contributor
2 years ago

Depending on the Android version running on your tablet and the location of the file you want to delete, MobiControl has the usual "del" script command to delete file if if has the file write permission for the folder holding the file.

TW
Tim Wright
2 years ago

Hi it's Android 10

M
MNMOD@SOTI
2 years ago

Hi Tim,

Thank you for posting on SOTI Pulse!

Has the suggestion provided by Raymond and Rafael help you resolve the issue? If yes, please mark the post that resolved the issue as Solution and if not, feel free to let us know and if we would investigate more to find the resolution.

Kind regards,

Technical Support Specialist | SOTI | +1 905.624.9828 | SOTI.net l Discussion Forum | Log a Case Online l Facebook l LinkedIn l Twitter

M
MPMOD@SOTI
2 years ago

Hi Tim,

I have marked the relevant post as solution. If this post did not assist you in resolving the issue and you have additional questions, please do not hesitate to reach out.

Kind regards,

Technical Support Specialist | SOTI | +1 905.624.9828 | SOTI.net lDiscussion Forum | Log a Case Online l Facebook l LinkedIn l Twitter