probably you have to enter the parent dir of the file. You can test the
command on terminator to find whether it work

在 2010-5-3 上午7:24,"brijesh masrani" <masrani.brij...@gmail.com>编写:

Hello Everyone,

I want to rename a file in sdcard using program, i am not able to do that
using

String[] prog ={"mv HArdcore.chm h_ardcore.chm"};

Process p = Runtime.getRuntime().exec(prog);

so if anyone knows how to do that than please reply.


Regards,
Brijesh Masrani

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com<android-developers%2bunsubscr...@googlegroups.com>
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to