|
|
windows scripts for putty
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.
|
|
0
|
|
|
|
Reply
|
yirg.kenya (19)
|
6/12/2009 7:50:07 PM |
|
Perusing the doc again ...
Looks like this is covered in section 4.26. Don't know why this didn't
register previously.
On Jun 12, 12:50=A0pm, yirgster <yirg.ke...@gmail.com> wrote:
> 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.
|
|
0
|
|
|
|
Reply
|
yirgster
|
6/12/2009 9:55:03 PM
|
|
>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
|
|
|
|
Reply
|
Cindy
|
6/13/2009 11:43:42 AM
|
|
|
2 Replies
518 Views
(page loaded in 0.053 seconds)
|
|
|
|
|
|
|
|
|