문제

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