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" <[email protected]>编写:

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 [email protected]
To unsubscribe from this group, send email to
[email protected]<android-developers%[email protected]>
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 [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to