tg icon indicating copy to clipboard operation
tg copied to clipboard

Sending photo via compiled exe (through cmd.exe)

Open ViktorKravtsov opened this issue 4 years ago • 2 comments

Using command

resolve_username my_friend
send_file @my_friend "e:\\VSM\\1.jpg"
send_file @my_friend "e:\VSM\1.jpg"

returns an error FAIL: 9: Can not open file: Invalid or incomplete multibyte or wide character Any possibility to fix this?

Upd: Through cygwin everything is ok. But this option does not suit me! I need it through cmd.exe

ViktorKravtsov avatar Dec 22 '21 07:12 ViktorKravtsov

try to use the argument -W and not resolve_username.

Paulchen232 avatar Dec 22 '21 08:12 Paulchen232

try to use the argument -W and not resolve_username.

does not helped even calling dialog_list after it also returns FAIL: 9: Can not open file: Invalid or incomplete multibyte or wide character

ViktorKravtsov avatar Dec 22 '21 11:12 ViktorKravtsov