I want to rename the folder from DDMS. The DDMS only supports deletion of a file and an empty folder. I want to change the name of folder /mnt/sdcard/NewFolder
to /mnt/sdcard/NewFolder2
. Is there a way to rename the folder?
Asked
Active
Viewed 1,103 times
0

Jainendra
- 24,713
- 30
- 122
- 169
-
1@ChiragRaval you're not right. According to SO rules it is possible to answer to own questions. If it is not allowed, you will not have a button to answer your own question. – Yury Feb 08 '13 at 08:56
-
It's possible, if you for instance have made a research before on this question and now just share you knowledge with the community. However, I'm a bid agree with you because the question does not seem to me difficult and, moreover, the answer is not correct with respect to question (there is a question how to do this in ddms and not in a shell). – Yury Feb 08 '13 at 09:00
-
1@ChiragRaval I'm not doing this to earn reputation, I'm just sharing knowledge. Please read [this](http://meta.stackexchange.com/questions/17845/etiquette-for-answering-your-own-question) and [this](http://blog.stackoverflow.com/2011/07/its-ok-to-ask-and-answer-your-own-questions/) – Jainendra Feb 08 '13 at 09:51
-
@ChiragRaval dont think other people cheap – USER_NAME Feb 08 '13 at 10:18
1 Answers
2
Use the following command in cmd:
C:\> adb shell
$ cd /mnt/sdcard
$ mv NewFolder NewFolder2

Jainendra
- 24,713
- 30
- 122
- 169