如何删除文件浏览器SD卡中的文件夹? [英] How to delete folders in sdcard of file explorer?

查看:123
本文介绍了如何删除文件浏览器SD卡中的文件夹?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我通过在模拟器中运行Android应用程序在sdcard(Eclipse)中创建了几个文件夹.现在,我要删除在sdcard上创建的文件夹.

I created several folders in the sdcard (Eclipse) by running an Android application in the emulator. Now I want to delete the folders which I have created on the sdcard.

我能够删除文件夹中的文件,但无法删除sdcard中的文件夹.

I am able to delete files in the folders but I could not delete the folders in the sdcard.

我该怎么做?有删除文件夹的方法吗?

How can I do this? Is there a way to delete folders?

推荐答案

使用adb命令,您可以删除文件夹.

Using adb command you can delete folders.

单击运行-> CMD->输入adb shell-> cd sdcard-> rmdir {dirname}

click Run - > CMD-> type adb shell --> cd sdcard -> rmdir {dirname}

注意:请确保您的目录为空.

Note : Make sure your dir should be empty.

用于非空目录.

单击运行-> CMD->输入adb shell-> cd sdcard-> rm -r {dirname}

click Run - > CMD-> type adb shell --> cd sdcard -> rm -r {dirname}

这篇关于如何删除文件浏览器SD卡中的文件夹?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆