Okay I thought I would share this with the whole community. This idea was spawned from a post I made on how to automatically load yourself into TS with one click and be in the right channel
TS AutoLogin. We discussed this thread over in the CoD forums and Size asked if I could create a program that would automatically load him into his admin tools, TS and the game all at once with one click.
This really made the wheels start turning and I found out how to accomplish this using a simple batch file. The trick was getting the coding right so it would read the paths when there was a space in the file name or directory..... for instance C:\Progam Files has space between Program and Files which gave me an error.
So here's what to do on your computer:
- Create a text file by bringing up notepad and save as test.txt so you can make and save changes as you go through this process
- add the proper command lines
- Save as test.bat on your desktop
- Test by double clicking it
Proper Command Lines
First and foremost make sure you look at these command lines carefully for the proper placement with the quotation marks. If the path to the .exe file you want to execute does not have spaces then you will not need quotation marks at all. These are my exact command lines I used but of course I changed the username and password.
@echo off
START C:\"Program Files (x86)"\"CoD RconTool10"\"CoD RconTool.exe"
START C:\Users\Cary\Desktop\miniAdmin3\miniAdmin3.exe
START D:\"Program Files (x86)"\"Teamspeak2_RC2\TeamSpeak.exe" "teamspeak://67.19.106.94/nickname=YourTSNickName?loginname=YourloginName?pa ssword=yourpassword?channel=Admin Team
NOTES
Be careful to choose your correct path and not mine..... as you can see I load my TS and my games on my D drive not the C. Just check your path by right clicking the normal icon you use to load the program and copying and pasting the target (YOU WILL NEED TO CHANGE THE "" MARKS TO MAKE IT WORK PROPERLY). You only need to use quotations around the directory or file name that has a space in it otherwise don't use them.
Look at my middle program [miniadmin3] you will notice there are no spaces and therefore I didn't use "" marks.
I'm working on getting the delays in place between loading each program but it's not working for me yet. I will edit post later once I figure out part.
Just post if you have any questions......