is there a command which configures the PuTTY to open up with "Session Logging" in "Printable output". I could do this manually, but i want to put this in a cammand line which will configure the PuTTY and open the console with these configurations.
The configurations what i want are --> In Sessions category : Session logging should be printable output. By default it is None and give the path of the logfile name. And select "always append to the end of it"
--> Select "Line discipline options"
Just like, the below command
putty.exe -serial com4 -sercfg 115200 this configures the PuTTY with serial line COM port 4 and Speed 115200.
i want similar command line for the said configurations. One thing is, the session can be saved with the required settings and loaded, but the script won't be universal. That is, it cannot be run on all the PCs.i will have to create many sessions (since i am using multiple baud rates/speed) on each and every PC where my script will be executed.
And what command should be used to close the PuTTY console? i tried typing "exit" but in vain! i had to use mouse. But since i am automating, i don't want any intervention. i will be using it in a .bat file and a .vbs to send the commands to the PuTTY console. (On a Windows PC)
Any help would be sincerely appreciated. Thanks in advance!