When I try to acess a file with spaces and then give them arguments, it doesn't recognize the path. If I type following it works:
C:\Users\Valentino>cmd /C adb push "C:\Users\Valentino\Desktop\Test.dat" "/sdcard/"
[This works]
If I try following, doesn't:
C:\Users\Valentino>cmd /C "C:/Path With Spaces/adb" push "C:\Users\Valentino\Desktop\Test.dat" "/sdcard/"
[Here it says 'C:/Path' doesn't is a valid file]
Neither this:
C:\Users\Valentino>cmd /C "adb" push "C:\Users\Valentino\Desktop\Test.dat" "/sdcard/"
[Here it says that the syntax is incorrect]
How must the syntax be, in order to read that file with spaces and give them arguments?
EDIT: You can try this even if you haven't adb installed. You will se that it will always fail, even on a existing file