Recommended Posts

X-lem    250

Has anyone found a simple way to change the CMD prompt title? I'm running several servers and all of the cmd titles look like this. It's basically impossible to tell which cmd window is for which server. I want to change it to something like "Server 1 - Master" etc.

 

image.png.ac953aedfb32a8cf71e011423bc48a18.png

Share this post


Link to post
Share on other sites
bizziboi    1,862

If it's called from a batch I think you can literally add

title Hello I am a title

to set the command window title before launching the executable.

But not sure if that applies to your situation.

  • Thanks 1

Share this post


Link to post
Share on other sites
X-lem    250
22 hours ago, bizziboi said:

If it's called from a batch I think you can literally add

title Hello I am a title

to set the command window title before launching the executable.

But not sure if that applies to your situation.

Doesn't appear to work. My guess is because `start dontstarve_dedicated_server_nullrenderer` is opening the cmd and thus not seeing the title set.

Here was my batch file.

cd /D "c:\steamcmd\steamapps\common\Don't Starve Together Dedicated Server\bin"
title Server3 - Master
start dontstarve_dedicated_server_nullrenderer -console -cluster Server3 -shard Master
title Server3 - Caves
start dontstarve_dedicated_server_nullrenderer -console -cluster Server3 -shard Caves

 

Share this post


Link to post
Share on other sites
bizziboi    1,862

Try

start "this is a test" dontstarve_dedicated_server_nullrenderer.exe 

  • Thanks 2

Share this post


Link to post
Share on other sites
X-lem    250
56 minutes ago, bizziboi said:

Try

start "this is a test" dontstarve_dedicated_server_nullrenderer.exe 

Perfect! Thank you

image.png.4a6948b87f29c3d2b5bb2c7ba2a27e61.png

  • Like 1

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now