These forums have been archived and are now read-only.

The new forums are live and can be found at https://forums.eveonline.com/

EVE Technology Lab

 
  • Topic is locked indefinitely.
 

Batch file pointing to launcher

First post
Author
Daemun Khanid
Corbeau de sang
#1 - 2016-01-04 18:31:32 UTC
Basically I'm trying to use a batch file to open all my eve related apps in one shot. Recording software, websites, teamspeak, eft and the eve launcher.

The file is having no trouble starting any of the other applications but whenever it gets to the evelauncher.exe it reports that it cannot find the file. I can copy the lines straight from the .bat file and paste them into a cmd prompt and it works just fine so I know there are no typo's ect. As I said the formatting starts all of the other programs with no issue so I'm at a loss as to why it won't find the evelauncher.exe from within the batch file. Idea's?

Here's what the file looks like, pretty simple so don't know what the issue is...

@echo on

rem Bandicam
cd C:\Program Files (x86)\Bandicam
start bdcam.exe

rem EFT
cd E:\Program Files\EFT
start EFT.exe

rem Teamspeak
cd E:\Program Files\TeamSpeak 3 Client
start ts3client_win64.exe

rem bookmarks
cd C:\Program Files (x86)\Google\Chrome\Application
start chrome.exe http://evemaps.dotlan.net/ https:\zkillboard.com\character\182804933 http://pvp.tools/?fit

rem Eve client
cd C:\eve\launcher
start evelauncher.exe

(Echo on so I can keep an eye on what's going on.)

Daemun of Khanid

Daemun Khanid
Corbeau de sang
#2 - 2016-01-04 18:48:03 UTC
Never mind, edited the batch to organize by drive letter and preceded each section with a command to go to that drive (c:,e:) and it works fine. Still don't know why it was finding other programs on c: but it wouldn't locate the eve launcher. Ugh

Daemun of Khanid

Amely Miles
Second Exile
#3 - 2016-01-08 12:07:08 UTC
for people that dont speak code ...whats the finished product look like?

As I slipped my finger slowly inside her hole, I could immediately feel it getting wetter and wetter.

I took my finger back out and within seconds she was going down on me.

"I really need a new boat," I thought to myself.

Jarno Midumulf
Riders of Sleipnir
Backdoor Crashers
#4 - 2016-01-08 12:22:24 UTC
Amely Miles wrote:
for people that dont speak code ...whats the finished product look like?


for short, its a shortcut to open all programs that he want to open at the same time.
Amely Miles
Second Exile
#5 - 2016-01-08 13:32:06 UTC
Jarno Midumulf wrote:
Amely Miles wrote:
for people that dont speak code ...whats the finished product look like?


for short, its a shortcut to open all programs that he want to open at the same time.


thanks i got that and its created using notepad i believe but i mean the complete code so that others can create with a little googling the same or similar file

As I slipped my finger slowly inside her hole, I could immediately feel it getting wetter and wetter.

I took my finger back out and within seconds she was going down on me.

"I really need a new boat," I thought to myself.

Princess Morenta
Republic Military School
Minmatar Republic
#6 - 2016-01-08 16:12:51 UTC
Amely Miles wrote:
Jarno Midumulf wrote:
Amely Miles wrote:
for people that dont speak code ...whats the finished product look like?


for short, its a shortcut to open all programs that he want to open at the same time.


thanks i got that and its created using notepad i believe but i mean the complete code so that others can create with a little googling the same or similar file


That is the complete "code" - copy and paste it into notepad and save it as a .bat / batch file
Daemun Khanid
Corbeau de sang
#7 - 2016-01-08 16:47:05 UTC  |  Edited by: Daemun Khanid
@echo on
rem goto E
e:
rem EFT
cd "E:\Program Files\EFT"
start EFT.exe
rem Teamspeak
cd "E:\Program Files\TeamSpeak 3 Client"
start ts3client_win64.exe
rem goto C
c:
rem bookmarks
cd "C:\Program Files (x86)\Google\Chrome\Application"
start chrome.exe http://evemaps.dotlan.net/ https:\zkillboard.com\character\182804933 http://pvp.tools/?fit
rem Eve client
cd "C:\eve\launcher"
start evelauncher.exe
rem Bandicam
cd "C:\Program Files (x86)\Bandicam"
start bdcam.exe
exit


Thats the final file. Really simple. I'm setup on 3 screens with eve on 2 and luckily everything (except EFT) remembers it's window position so it's just a matter of clicking one shortcut to get everything loaded and ready.

Should also note that I'm running windows 10. It shouldn't make much difference but it seems to be a little more finicky than windows 7 with how it see's the commands.

Daemun of Khanid

Steve Ronuken
Fuzzwork Enterprises
Vote Steve Ronuken for CSM
#8 - 2016-01-08 18:57:27 UTC
It _may_ be because you don't change drive with a cd command.

You change the path that you'll be on, on that drive, when you change to it.

It's more than a touch counter intuitive

Woo! CSM XI!

Fuzzwork Enterprises

Twitter: @fuzzysteve on Twitter

Amely Miles
Second Exile
#9 - 2016-01-08 20:15:38 UTC
thank you

As I slipped my finger slowly inside her hole, I could immediately feel it getting wetter and wetter.

I took my finger back out and within seconds she was going down on me.

"I really need a new boat," I thought to myself.

Daemun Khanid
Corbeau de sang
#10 - 2016-01-09 05:22:46 UTC  |  Edited by: Daemun Khanid
Steve Ronuken wrote:
It _may_ be because you don't change drive with a cd command.

You change the path that you'll be on, on that drive, when you change to it.

It's more than a touch counter intuitive


Makes sense and I'd assumed that was the problem and added the drive changes but it didn't explain why the batch was able to find the chrome.exe and the bandicam.exe which were also on the c: drive. It also didn't matter what order I put any thing into the file. The eve launcher file was the one that it could never locate until I specifically changed to the c: drive. I'd assumed as well that the inclusion of the drive letter in the file location would be enough to point the command to the proper drive as well as the directory, at least it seemed to for the other 2 programs on the C: drive.

Daemun of Khanid

Amely Miles
Second Exile
#11 - 2016-01-09 14:30:52 UTC
thanks to you and with trial and error i now have the following and it works :)

@echo on
rem goto E
e:
rem Teamspeak
cd "C:\Program Files\TeamSpeak 3 Client"
start ts3client_win64.exe
rem goto C
c:
rem bookmarks
cd "C:\Program Files (x86)\Google\Chrome\Application"
start chrome.exe http://evemaps.dotlan.net/map/insert your own region here/system name#sec https://zkillboard.comhttp://pvp.tools/?fit
rem Eve client
cd "C:\Program Files (x86)\CCP\EVE"
start eve.exe

As I slipped my finger slowly inside her hole, I could immediately feel it getting wetter and wetter.

I took my finger back out and within seconds she was going down on me.

"I really need a new boat," I thought to myself.

Steve Ronuken
Fuzzwork Enterprises
Vote Steve Ronuken for CSM
#12 - 2016-01-09 16:18:20 UTC
Daemun Khanid wrote:
Steve Ronuken wrote:
It _may_ be because you don't change drive with a cd command.

You change the path that you'll be on, on that drive, when you change to it.

It's more than a touch counter intuitive


Makes sense and I'd assumed that was the problem and added the drive changes but it didn't explain why the batch was able to find the chrome.exe and the bandicam.exe which were also on the c: drive. It also didn't matter what order I put any thing into the file. The eve launcher file was the one that it could never locate until I specifically changed to the c: drive. I'd assumed as well that the inclusion of the drive letter in the file location would be enough to point the command to the proper drive as well as the directory, at least it seemed to for the other 2 programs on the C: drive.



start does more than just run an application.

You don't need it, if you're in the right directory.

Woo! CSM XI!

Fuzzwork Enterprises

Twitter: @fuzzysteve on Twitter

Daemun Khanid
Corbeau de sang
#13 - 2016-01-09 16:57:43 UTC
Steve Ronuken wrote:
Daemun Khanid wrote:
Steve Ronuken wrote:
It _may_ be because you don't change drive with a cd command.

You change the path that you'll be on, on that drive, when you change to it.

It's more than a touch counter intuitive


Makes sense and I'd assumed that was the problem and added the drive changes but it didn't explain why the batch was able to find the chrome.exe and the bandicam.exe which were also on the c: drive. It also didn't matter what order I put any thing into the file. The eve launcher file was the one that it could never locate until I specifically changed to the c: drive. I'd assumed as well that the inclusion of the drive letter in the file location would be enough to point the command to the proper drive as well as the directory, at least it seemed to for the other 2 programs on the C: drive.



start does more than just run an application.

You don't need it, if you're in the right directory.


It's just one of the things that I added while trying to get the file to recognize the EvE launcher exe. Can certainly be removed but didn't bother as it doesn't have any adverse effects and file size isn't exactly an issue. Still doesn't explain why the file was able to find every program except eve without explicit drive changes. Ugh

Daemun of Khanid

Dragonaire
Here there be Dragons
#14 - 2016-01-09 19:00:59 UTC
Could be that the other programs add their directories to the CMD $PATH var but Eve does not. I'll bet if you llook at it you'll see paths for all the others but not one there for Eve.

Finds camping stations from the inside much easier. Designer of Yapeal for the Eve API. Check out the Yapeal PHP API Library thread.

Daemun Khanid
Corbeau de sang
#15 - 2016-01-09 21:09:04 UTC  |  Edited by: Daemun Khanid
Dragonaire wrote:
Could be that the other programs add their directories to the CMD $PATH var but Eve does not. I'll bet if you llook at it you'll see paths for all the others but not one there for Eve.


Think that's what it is, I see the program files directory in the $path but since I installed Eve to it's own root "EvE" folder it's not finding it. Busy trying to catch a Tengu on the other screens atm but I will try adding it later and see if it works.

edit: Just looking through current $path, definitely don't see the other programs listed either but there are other things in the program files folders that are listed. Nothing from the e: drive listed though in $path so not sure if that should be causing the problem.

Daemun of Khanid