Quantcast
Viewing all articles
Browse latest Browse all 10386

PsTools : Need help Running .bat files with psexec

Author: ldyte1
Subject: Need help Running .bat files with psexec
Posted: 07 December 2013 at 9:50am

Hi guys, this is my first post so I hope to explain my problem the best I can...

It would help if one of your knows about a game called minecraft if so you will know what i am talking about!

Recently, I thought about how i could run the minecraft servers on my friends computer when he is not there because he always leaves his pc on
so all i need to do is run the Start.bat file to run the servers and then keep the Start.bats open.

So i want it to Open the server ONCE on my friends PC and leave it working so i can connect.

I had tried using PsExec but it's a bit complicated, because i psexec command but then it says a msg quickly before it closes but i cant read it its to quick but it looks about 3 or maybe 4 lines long.

Here is my current psexec commands that i have tried using.

Number 1:

psexec \\IpAddress - u ldyte1 - p Password -i -d cmd /c "C:\Users\User\Desktop\All Servers\Hub Server\Start.bat"

Number 2:

\\IpAddress -u ldyte1 -p Password cmd /c cd "C:\Users\User\Desktop\All Servers\Hub Server\Start.bat"

Number 3:

\\IpAddress -u ldyte1 -p Password "C:\Users\User\Desktop\All Servers\Hub Server\Start.bat"



Well, thanks if you can help, i'll be waiting for help here, And Thanks!

From ldyte1

Viewing all articles
Browse latest Browse all 10386

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>