Auto start-up a bat file not really automatic

Post any technical problems or questions you have while using or configuring Dexpot.
Bug-Tracker
quachtridat

Auto start-up a bat file not really automatic

Postby quachtridat » 14.11.2013 05:04:40

Hi! :|
As subject, i set for Dexpot auto start a bat file in desktop 2 [desk 1 is main]. It starts automatically, but it just appears and doesn't run the program [my one is java exe]. So i need to go to desktop 2, it can continue :( . Although, i don't want to change desktop each windows start, it still can run all the program in bat. Anyone help me plz! :!:
Tks! :)

User avatar
Patrick
Developer
Posts: 7380
Joined: 04.03.2003 14:51:26

Re: Auto start-up a bat file not really automatic

Postby Patrick » 14.11.2013 13:27:07

:dex:

The batch file starts but doesn't run? Not sure how that's supposed to work. But do you actually need the batch file? Can't you just put the command from the batch file directly into the start-up field?

quachtridat

Postby quachtridat » 14.11.2013 16:14:18

Yes, i actually need it. If you need, i'll post my bat file for you

User avatar
Patrick
Developer
Posts: 7380
Joined: 04.03.2003 14:51:26

Re: Auto start-up a bat file not really automatic

Postby Patrick » 14.11.2013 16:30:58

Please do.

quachtridat

a bat file

Postby quachtridat » 15.11.2013 09:31:49

*Here*

@ECHO OFF
SET BINDIR=%~dp0
CD /D "%BINDIR%"
java -Xmx1024M -Xms502M -jar craftbukkit.jar nogui
PAUSE

[The cmd screen just appears but doesn't run those commands automatically until i switch to that desktop - which called Desktop 2]
So i just use Dexpot as a newbie... :)

User avatar
Patrick
Developer
Posts: 7380
Joined: 04.03.2003 14:51:26

Re: Auto start-up a bat file not really automatic

Postby Patrick » 17.11.2013 14:31:43

Ok, I tried it and it works fine here. I downloaded Bukkit, created the batch file, added it to the start-up for Desktop 2 with event "Dexpot start". When I now start Dexpot, the batch file opens, is moved to Desktop 2 and continues to run there. When I switch to Desktop 2, the Bukkit server is already running.

This is on Windows 8.1 with Dexpot 1.6.10 Build 2373.

quachtridat

Re: Auto start-up a bat file not really automatic

Postby quachtridat » 20.11.2013 14:05:06

Really? That sounds good. I set it "first entry", but you set "Dexpot start". Is that a cause of problem ?
If not, tell me instruction :D

User avatar
Patrick
Developer
Posts: 7380
Joined: 04.03.2003 14:51:26

Re: Auto start-up a bat file not really automatic

Postby Patrick » 20.11.2013 14:23:20

"First entry" means it's not started until you switch to Desktop 2 the first time. So yes, you have to use "Dexpot start".

quachtridat

Solved: Auto start-up a bat file not really automatic

Postby quachtridat » 22.11.2013 12:18:48

Oh! So that's my problem. I tested and it stated as well as you said. Thanks very much!
Now the problem solved!


Return to “Support”

Who is online

Users browsing this forum: No registered users and 130 guests