Remove All Ads from XDA
Honor View 10

[Q] execute a file remotely

4 posts
Thanks Meter: 0
By HagbardC, Junior Member on 6th September 2011, 09:36 PM
Post Reply Email Thread
Hi there,

I have an (hopefully easy) problem which I am searching the answer for hours now.

I want to use my android device (4G Systems One Tab) to remotely execute a batch file on my PC via WIFI-Connection.

That's it.

I want to have an Icon on my homescreen and when its clicked the batch-file on the desktop computer is executed. (no feedback or output needed, this is all done by the batch)

I would be grateful if anyone could provide me with a solution or even an idea to find the way.


6th September 2011, 10:39 PM |#2  
megabiteg's Avatar
Senior Member
Flag USA
Thanks Meter: 238
I don't have much experience in bash script but I do know that a software by the name of Script Manager is available in the market and might just help you achieve your goal.

Now with Script Manager you can execute a script you created and place it on a shortcut on the desktop of your phone. The bash script would do any type of calls it needs to do to the PC. As long as your firewalls are well configured and you have port forwarding on the router (if needed) or your on the same wifi network you should be able to do as you need with the tool.

Now also remember, you might want to consider rooting your phone so you can have busybox installed and have a good amount of commands available to you.
The Following 2 Users Say Thank You to megabiteg For This Useful Post: [ View ] Gift megabiteg Ad-Free
11th September 2011, 11:27 PM |#3  
OP Junior Member
Thanks Meter: 0
Thank you, that was of help. Problem solved.
13th January 2014, 09:01 AM |#4  
Thanks Meter: 10
Originally Posted by HagbardC

Thank you, that was of help. Problem solved.

Sorry for bumping an old thread, but this is my problem exactly as well. I want to run a script to execute a .bat file from my computer.

Could you please go into more detail about HOW you configured "Script Manager"?
Possibly share your script so I can change it to fit my information.
Anyone? Please help.

- donkeyhigh
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes