Jump to content

domagaj

Members
  • Posts

    1
  • Joined

  • Last visited

Everything posted by domagaj

  1. Hi, Last 2 weeks I have searched many forums and i haven't found the answer for the question: How to get all command output to Putty title? Needed it for AutoIT to know when some jobs on a server is done and is it done right or wrong. Plink stdout and stdin wasn't working, I used many tweaks with wait delays and for some commands they worked and for others not. XSEL and XCLIP couldn't be installed on that server. So here is the solution: 1. Get command output in a file. 2. Echo that file to title. on putty client and suse server it looks like this: ls /home | grep domagaja > logautoit.txt echo -e "\033]0\\;$(cat logautoit.txt)\\007\\c" Hopefully someone will be able to use this. It won't work for all server types and putty client settings, of course, but the idea should work well. Best Jacek
×
×
  • Create New...