Outlook Command Line Problems

G

Giaco

Hi All:

I made an application in vb that execute Outlook with a command line
to automatize a process. The command line is this:

Outlook.exe /c ipm.note /m (e-mail address removed)?Subject=Hi&Body=Hello /a
c:\file.txt

Since Outlook 2000 SP3, this command line generates an error like "not
enough parameters"

I test it with

Outlook.exe /c ipm.note /m (e-mail address removed)?Subject=Hi&Body=Hello

and it works fine.

I Test it with

Outlook.exe /c ipm.note /a c:\file.txt

and it works fine too! The parameters are correct but it seems that
only can work with 2 parameters and not with three!

It is possible??? Can I do the same with another parameters???

Please, help!

Thank you in advance,

Giaco
 
G

Giaco

Thanks, Same error

Diane Poremsky said:
try it with quotes around the file name "c:\test.txt"

--
Diane Poremsky [MVP - Outlook]
Author, Teach Yourself Outlook 2003 in 24 Hours
Coauthor, OneNote 2003 for Windows (Visual QuickStart Guide)



Search for answers: http://groups.google.com
Most recent posts to the Outlook newsgroups:
http://groups.google.com/groups?as_ugroup=microsoft.public.outlook.*&num=30

Giaco said:
Hi All:

I made an application in vb that execute Outlook with a command line
to automatize a process. The command line is this:

Outlook.exe /c ipm.note /m (e-mail address removed)?Subject=Hi&Body=Hello /a
c:\file.txt

Since Outlook 2000 SP3, this command line generates an error like "not
enough parameters"

I test it with

Outlook.exe /c ipm.note /m (e-mail address removed)?Subject=Hi&Body=Hello

and it works fine.

I Test it with

Outlook.exe /c ipm.note /a c:\file.txt

and it works fine too! The parameters are correct but it seems that
only can work with 2 parameters and not with three!

It is possible??? Can I do the same with another parameters???

Please, help!

Thank you in advance,

Giaco
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top