Batch File Account switching!!! HELP NEEDED
So, i created a batch file that kills the running process tree of steam.exe and then relaunches steam with login parameters, In essence, it is basically killing your main account, then logging in the your alt. So far the taskill works gr8. It will kill the process tree and do it's job perfectly, as for the relaunching of steam.exe... well. Heres the script im currently working with, Ive also included a link that shows what error message i get when trying to run steam from the batch file.

taskkill /t /f /IM "steam.exe"

start C:\Program Files (x86)\Steam\Steam.exe -login USERNAME PASSWORD
pause

Error message i receive: https://gyazo.com/49a0776019d37a2c790db423e8ded618

Please help. It should be straight forward but it simply isnt:steamsad:.
Thanks in advance :steamhappy:
< >
Showing 1-4 of 4 comments
ReBoot Aug 17, 2016 @ 1:57am 
1. Its start "" Path
2. If the path contains spaces, enclose it in ""
3. You should tell Steam to exit itself, wait a couple seconds and then kill it
Last edited by ReBoot; Aug 17, 2016 @ 1:58am
instiinct 🍌 Aug 17, 2016 @ 1:59am 
Originally posted by ReBoot:
1. Its start "" Path
2. If the path contains spaces, enclose it in ""
3. You should tell Steam to exit itself, wait a couple seconds and then kill it

So how would it look? if you could just paste it in that would be lovely!
Thanks :)
ReBoot Aug 17, 2016 @ 2:11am 
Not right now. Im on my phone and typing commands is a PITA. Write me an email @ Zam.K@live.de, ill fetch it this evening and will copy you some of my batching.
instiinct 🍌 Aug 17, 2016 @ 2:17am 
Okay, thanks man. I appreciate it!:steamhappy:
< >
Showing 1-4 of 4 comments
Per page: 1530 50

Date Posted: Aug 17, 2016 @ 1:53am
Posts: 4