Вопрос

I am trying to open a putty session from windows command line. I need to change the Title text that will appear in its title bar.

I'm using the command:

putty.exe --ssh serverName -l myName -pw password

In the title bar it displays,

myName@serverName:~

But I need to change the title text as we can do using putty GUI, putty --> Window --> Behaviour --> Window Title.

I need a command line option for this setting something like,

putty.exe --ssh serverName -l myName -pw passwor **-title myTitle**
Это было полезно?

Решение

It is a batch file command called title that changes the text in the title bar.
Use this on the line before starting putty

title myTitle
Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top