Hugh Gundersen wrote:
On Tue, 11 Apr 2006 14:05:42 -0400, you wrote:

Hugh Gundersen wrote:
On Mon, 10 Apr 2006 17:05:50 -0400, you wrote:

I have a simple batch file called xtel.bat stored on the desktops
of three computers.

telnet <email_server_domain_name> 25

On two of the computers (these are all XP Pro), it executes the
command line but on the third, it merely opens the CMD window.

Originally, on the third machine, it opened in an editor. I had to
change the file association to Windows Command Processor.

So, how do I get this bunny to execute when I double-click the
desktop icon?

(Does it matter that the user on the 3rd machine does not have
admin privileges?

Thanks.
Actually it's called "Winbatch"
1) What's called Winbatch?

2) Why was I able to run the command from a desktop icon on the other two 
machines?


Of course you can but is tidier to run it as an EXE.

My understanding of how operating systems work work is that when an executable file is loaded into memory, a "process" is created. But when a script is called, the OS calls on a command processor to read the command file and execute each command/program. That is, in the case of the latter, the process that is created by the OS is the one associated with the command processor, not the command file/script. In Unix, and executable is denoted by a magic byte (or sequence, I forget which) in the first few bytes of the file. I thought that, in Windows, the EXE was the signal.
Winbatch will compile a bat file as an exe.  Sometimes bat files (serial text) 
need to run in a
command window (not all) and an exe makes it tidy.

The command file I wrote doesn't need that, Hugh, as I already run it 
successfully on two other computers. See my question (2) above.

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