Open nr1995 opened 8 months ago
--push-target=/sdcard/storage/emulated/0/Download/from PC/ShareX/
Because there is a space in the path, so it is interpreted as two separate arguments:
--push-target=/sdcard/storage/emulated/0/Download/from
PC/ShareX/
So you must escape or quote the path (I don't know by heart the shell quoting rules on Windows), or just don't use a path with a space.
@rom1v Alright thanks. I've looked up the .vbs quotation mark rules and they're a disaster.
If anyone else can figure this strings-with-spaces mess out for me, that'd be much appreciated.
-EDIT- Actually the double quotes weren't so bad. You just use two instead of one at every instance. The thing that was making it not work, was that, what my phone's file manager was calling “storage”, SCRCPY apparently refers to as “sdcard”. So they're the same thing. So you can't have both. I just deleted “storage” and now it works. Thanks!
Hi, noob here. I need a little help with configuring a push target path in my .vbs configuration file. When I look at the file path on my phone it shows this: /storage/emulated/0/Download/from PC/ShareX/file.png But when I put it in my .vbs file and run it like this: --push-target=/sdcard/storage/emulated/0/Download/from PC/ShareX/ scrcpy doesn't start at all. And I know this is the part that's messed up because if I write this: --push-target=/sdcard/ it works just fine. So what am I doing wrong here. Is it the space character in the file path? Need a little help. Thanks!