David,

1. When the OS service control starts IMail, it does so from OS context of
the service control whose location ("." context) is "C:\Winnt\System32". So,
when Imail alias starts a command file and that command file starts a
program like "Imail1.exe" (without path info), it attempts to start
"C:\Winnt\System32\Imail1.exe". Therefore, in your command file, you have to
call out the full path of your target like "C:\IMail\Imail1.exe".

2. Check the program alias path in the admin control panel. I have noticed
that it can strip the drive letter from the path, leaving the registry entry
as ":\Imail\name.cmd" instead of "C:\Imail\name.cmd". If that is the case,
you have two options, change the path to "\Imail\name.cmd" (without the C:)
or edit the registry entry and add the drive letter in front of the colon.

3. Permissions are an issue, but "Everyone Full" should do it for you.

To ensure I did not lead you astray, I just setup a program alias that
invokes a CMD file and it works fine with the above noted.

Mike

----- Original Message -----
From: "David Dodell" <[EMAIL PROTECTED]>
To: "Rick Leske" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Friday, November 29, 2002 10:13 AM
Subject: Re[8]: [IMail Forum] Alias calling "cmd" file


Friday, November 29, 2002, 1:12:03 AM, Rick Leske wrote:

> Assuming you've set up your program alias correctly try having it fire a
pif
> file instead of a cmd file or even create a bat file.  Just open a command
> prompt via the start>run dialog.. type in either command or cmd.. at the
dos
> box type in copy con filename.bat and press enter.  type in all of your
> necessary batch file commands.  When your done just issue a <ctrl> & Z
then
> press enter.  Your filename.bat file will be wherever you've opened the
dos
> box at.  copy it to your imail directory/folder.  ensure that your program
> alias is mapped/pointed to the filename.bat file.  it should run.

I tried that ... I just renamed the cmd file to a bat file since as I
said in my previous post, it is just two lines;

first line imail1.exe with the switches
line two "exit"


To Unsubscribe: http://www.ipswitch.com/support/mailing-lists.html
List Archive: http://www.mail-archive.com/imail_forum%40list.ipswitch.com/
Knowledge Base/FAQ: http://www.ipswitch.com/support/IMail/





To Unsubscribe: http://www.ipswitch.com/support/mailing-lists.html
List Archive: http://www.mail-archive.com/imail_forum%40list.ipswitch.com/
Knowledge Base/FAQ: http://www.ipswitch.com/support/IMail/

Reply via email to