-1

How can I run this line on dos command of client user ?

START "" "C:\Program Files\TeamViewer\Version8\teamviewer.exe" -i 125486 --Password 123456

Is it possible ?

chridam
  • 100,957
  • 23
  • 236
  • 235
user3107343
  • 2,159
  • 6
  • 26
  • 37

1 Answers1

0

you mean you have a web site and you want to run this executable from the browser on the client machine? If this is the case, this is not possible. That would be very dangerous

AcidJunkie
  • 1,878
  • 18
  • 21
  • I am searching alternative ways for my this question http://stackoverflow.com/questions/24327664/how-to-access-c-program-files-path-of-client-pc-in-asp-net-c – user3107343 Jun 23 '14 at 09:37
  • @user3107343 there *is no way*. – spender Jun 23 '14 at 09:39
  • @spender There is a way, using protocols. But he'll still need to run an executable on the client's machine. – dcastro Jun 23 '14 at 09:42
  • @dcastro launch with passwords? that's rather dangerous – spender Jun 23 '14 at 09:46
  • @spender yeah, i would just have the protocol handler launch the teamviewer exe, and then let the user enter his username/password. – dcastro Jun 23 '14 at 09:49
  • I have a web application (asp.net c#).There are 1200 computers name in my gridview.I can execute teamviewer and connect to any computer when application running on local. But it is not working on web host! – user3107343 Jun 23 '14 at 09:55