5
I need to launch putty through command line argument programmtically. I am doing this using the command as:
C:\Programs\putty.exe -ssh -l root -pw password hostname
which works fine.
Now I want to open the session with changed title of my choice. I know this can be done using
Disable remote-controller window title changingand setting
Window titleBut is there any way to pass these parameters as command line argument while launching?
1As far I know that is not possible, you can do it in the batch file with the TITLE command – Josem – 2018-06-26T11:15:03.807
You could create a temporary Saved Session by manipluating the registry, and then
-load
it... (eww - don't do that). Alternatively, could the remote set the title for you? – Attie – 2018-06-26T11:31:06.050Let the host send a terminal escape string that sets the title? – Gerard H. Pille – 2018-06-26T11:31:10.280
@Gerard H. Pille Can you please post an example? All I want is a putty window that has a title of my choice. – gbhadhar – 2018-06-26T14:56:44.097
@ Attie Would prefer not to manipulate the registry. Remote setting the title for me: is there any command that I need to execute post login? Can you please provide an example, would like to try it out through my program in Java. – gbhadhar – 2018-06-26T15:00:01.980
Need to know which terminal type putty is emulating. – Gerard H. Pille – 2018-06-26T19:19:41.727