Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

windows scripts for putty

4,031 views
Skip to first unread message

yirgster

unread,
Jun 12, 2009, 3:50:07 PM6/12/09
to
How can I write a windows script for putty that start sessions, and in
specified order.

I'm a long-time unix developer and know little about scripting on
unix, but I connect to work through RemoteDesktopConnection on my
win32 box at home and then telnet to the various *nix boxes I needed.

I have defined a large number of sessions. Each has their own title,
and I always start them up in a given order. This way, for example, if
the window for the session to source file X.c is covered up I know
immediately where the icon for it is in the task bar. I don't have to
search for it.

What I would like to do is have a windows script that does that for
me. I.e. I give it a list of the sessions (either built into the
script or from a configuration file) and it invokes them in the order
given.

But, I have no idea how to do this.

In fact, even worse, I don't see how to start a given session from a
windows command line.

Any help most appreciated! It's getting old doing this by hand.

yirgster

unread,
Jun 12, 2009, 5:55:03 PM6/12/09
to
Perusing the doc again ...

Looks like this is covered in section 4.26. Don't know why this didn't
register previously.

Cindy Ross

unread,
Jun 13, 2009, 7:43:42 AM6/13/09
to
>In fact, even worse, I don't see how to start a given session from a
>windows command line.

See section "3.8 The PuTTY command line" in the documentation:

http://the.earth.li/~sgtatham/putty/0.60/htmldoc/Chapter3.html#using-cmdline

0 new messages