Urm this is confusing... if I double posted sorry... its not easy with moderation users...
Anyway I HAVE DONE IT!!!
REM *******CREDITS START*******
REM CODE PROVIDED BY MRVALENTINE
REM ON THE TGC FORUMS
REM *******CREDITS END*******
REM The below you should be familiar with if not...
REM look into it or just ask
` *******SCREEN SETUP START*******
width=GET DISPLAY WIDTH()
height=GET DISPLAY HEIGHT()
depth=GET DISPLAY DEPTH()
SET DISPLAY MODE width, height, depth
` *******SCREEN SETUP END*******
REM Set the font size to make the long folder name fit lol
SET TEXT SIZE 12
` *******GETTING FILE LOCATION START*******
REM You need STYX for the below command to work...
REM It does not even have to be a real file...
REM It just stores the file location like...
REM "C:\folder\folder\folder\" but also puts the
REM non-existant file name at the end... so use the
REM actual file name for good effect ;)
location$=EXPAND FILENAME$("server.exe")
REM "location$" this string erm variable now holds
REM the information of the folder location of the current EXE.
REM Below we print the location for debug purposes mainly...
REM By current EXE I mean this application
PRINT location$
` *******GETTING FILE LOCATION END*******
` *******EXECUTE FILE START*******
REM below we attempt to execute the server EXE using
REM the data created above from the EXPAND FILENAME$ command.
REM Which is placed in the ***COMMANDLINE*** part
REM Now I do not know about you... but it works... strange...
EXECUTE FILE "temp.exe", location$, "."
` *******EXECUTE FILE END*******
REM I did this for a bit of a tryout it is apparrently
REM better than using sync and fastsync, you need
REM STYX for it
SAFE SYNC
REM The rest below should be familiar to you already
WAIT KEY
END
Now you can also use commands I think also from STYX inside your server console/application to make it start silent or minimi(s/z)ed (darn it... pick one and carry on reading

) I found this to be the best way rather than using the commandline as I am struggling to find a proper command for it...
and then again... you can always try
HIDE WINDOW `focus on this line
PRINT "HELLO"
WAIT 2000
SHOW WINDOW
WAIT KEY
END
At the start of your server application... I put the rest in to show you how to use the related commands. This command "HIDE WINDOW" I blieve is built into default DBPro so you do not need STYX for it...
Eitherway... I also tried this...
EXECUTE FILE "server.exe", ".", "."
WAIT KEY
END
Which also worked...


Looks like you had the dots in the wrong places...
Hope this helped and the commenting I added made sense and helped any readers.
EDIT
Quote: "MADE SOME CORRECTIONS AND SLIGHT GRAMMAR CORRECTIONS... nevermind, nobody is good at their language anyway lol."
EDIT
Also pay attention to the ` mark hope you already know about this mark its also for commenting out sections of code / lines, It works like REM.
Its located normally left of 1 across the top of your keyboard below the function F1 F2 F3... keys and possibly directly below the ESC key... just press it no need to press CTRL, SHIFT or ALT keys.