adb command fail to execute if path contain spaces

前端 未结 3 458
再見小時候
再見小時候 2021-01-20 22:46

I am trying to delete the file using adb command. But the file contain spaces. So adb command throws an error after reading half of the file name till space. Is there a way to o

3条回答
  •  孤街浪徒
    2021-01-20 23:31

    Since you are using command line, you need to know that spaces must be escaped by using (backslash before the special character like "space"), so, in your case this should work too:

    adb shell rm /sdcard/samsung_Nexus\ S_converter.xml

    Hope it helps!

    Regards!

提交回复
热议问题