> >> I'd like to set up a batch file that can be saved on the
> >> desktop to invoke a single command
> >>
> >> telnet smtpserver 25
> >>
> >> I did this but when I click it, I get
> >>
> >> <path_to_desktop> telnet smtpserver 25
> >> <path_to_desktop> telnet smtpserver 25
> > <etc, etc, etc...>
> >
> > I don't know why your attempt acted like this, but I know how I'd
> > implement this. Create a text file containing the single
> line "telnet
> > smtp server 25", and save it with the extension ".cmd". Now
> > right-click the desktop, and select "New|Shortcut". Point the new
> > shortcut to the *.cmd file you just created.
>
> Is there a reason why saving the file itself to the desktop
> wouldn't work?
I just tried it, and it works fine. It opens a command console and runs
the command. It will close the console window immediately when the
command finishes,which means that if something misfires and telnet
writes an error message and ends, the window closes before you can see
what the message was. With a shortcut you can control this behavior.
Which still doesn't explain why your bat or cmd simply writes the same
line over and over.
--
Tim Slattery
[EMAIL PROTECTED]
--
----------------------------------------
The WIN-HOME mailing list is powered by L-Soft's renowned
LISTSERV(R) list management software. For more information, go to:
http://www.lsoft.com/LISTSERV-powered.html