I'm trying to automate some AnyDesk remote access. This is the Command from AnyDesk Documentation:
Code: Select all
echo <password> | anydesk.exe <ID/Alias> --with-password
Code: Select all
id := "727850978"
password := "password"
stringToRun := "echo " . password . " | C:\Program Files (x86)\AnyDesk\AnyDesk.exe " . id . " --with-password"
Run(stringToRun,,,&pid)
If I remove all characters before 'echo' and the password it runs ok.
Anyone knows how to pass that echo instrucion to AnyDesk command?
Thanks in advance!