James Button wrote:
Pete,

Clicking on an icon, should, if you are to achieve anything within windows,
should initiate a 'process'
if it doesn't initiate a process, then nothing will happen

Agreed. However, if the icon is (a shortcut to) an executable, the process will 
be the one defined by that executable.

If the icon is a (shortcut to a) command file, the process will be theone associated witht the Command Processor/
Re not finding a suitable telnet object -
firstly finding an object is a process -
i.e. the process of searching for something ( probably a file) with a name
that starts with the characters 'telne' and t
that's one of the reasons for putting the .exe at the end of the identity of
what you want it to find, and pass control to
i.e indicate you want windows or the command processor to  find, load into
memory, and pass control to telnet.exe, not telnet.vbs, or telnet.dll etc..
The thing is if it found what it thought was a suitable object, then the
question remains - was it what you consider to be the required object?

Let me put it this way: when that non-admin user opens a command window and 
types

        telnet <servername> 25

whatever process does the looking finds telnet.exe without my having to type

        telnet.exe <servername> 25


When I click ont he batch file icon, the command window opens to a DOS
prompt and just sits there, waiting a (typed) command.

Most of what I suggested was to try to identify what the OS was doing in
response to your efforts in (double) clicking on the icon on the desktop
as in the full effect within windows of your actions, where you indicate
"I manually associated the batch file's extention with the Command
Processor."

Indeed, a problem, or deviation from the normally expected response of
windows was indicated by your statement:

"Before I did that, the batch file was opened by Edit when I double-clicked
it."

Just that the original extension's "Open With" was associated with Edit and not 
Command Processor.

I fixed that. That is, when I dbl-clk on the icon, a command window opens.

However, it being near the end of my working period, I hope that someone
else can help you solve your problem

I'll wait until you start working again. :-)

Thanks.

--
               ----------------------------------------
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

Reply via email to