A Microsoft Outlook email forum. Outlook Banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook - General Queries
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Can I embed a clickable link that includes command line arguments?



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old November 24th 09, 06:35 PM posted to microsoft.public.outlook
Clif McIrvin
external usenet poster
 
Posts: 15
Default Can I embed a clickable link that includes command line arguments?

I 'm familiar with the process of embedding a clickable link to a file
located on a share accessible to the recipient, and do so regularly by
using a UNC formatted path:

\\ServerName\Path\to the \location\of the\file

(Interesting ... the "" "" I wrapped the above line in dissappeared as
soon as I entered the close bracket. In Outlook [plain text] I'm not
used to that happening.)

My question: is it possible to do the same thing to launch a .exe (or
..cmd) with command line arguments?

Something like:

\\UNC Path\Executable /argument1 /argument2=some text string /arg3 etc

that line with extra quotes and spaces:

"" \ \ UNC Path\Executable /argument1 /argument2=some text string /arg3
etc ""

I'm using WinXP Pro SP3 with Office (Outlook) 2003 SP3 and IE8 Update
Version 0, however, I'd like confidence that the embedded link will work
regardless of the Windows / Office version being used.


[I am presently living with the Security Risk warnings that Outlook
loves to throw and just asking my users to go ahead and run the link.]

--
Clif


Ads
  #2  
Old November 24th 09, 06:49 PM posted to microsoft.public.outlook
Sue Mosher [MVP][_4_]
external usenet poster
 
Posts: 552
Default Can I embed a clickable link that includes command line arguments?

No, a hyperlink can contain only the file name, not additional arguments or
parameters.

--
Sue Mosher, Outlook MVP
Author of Microsoft Outlook 2007 Programming:
Jumpstart for Power Users and Administrators
http://www.outlookcode.com/article.aspx?id=54


"Clif McIrvin" wrote in message
...
I 'm familiar with the process of embedding a clickable link to a file
located on a share accessible to the recipient, and do so regularly by
using a UNC formatted path:

\\ServerName\Path\to the \location\of the\file

(Interesting ... the "" "" I wrapped the above line in dissappeared as
soon as I entered the close bracket. In Outlook [plain text] I'm not used
to that happening.)

My question: is it possible to do the same thing to launch a .exe (or
.cmd) with command line arguments?

Something like:

\\UNC Path\Executable /argument1 /argument2=some text string /arg3 etc

that line with extra quotes and spaces:

"" \ \ UNC Path\Executable /argument1 /argument2=some text string /arg3
etc ""

I'm using WinXP Pro SP3 with Office (Outlook) 2003 SP3 and IE8 Update
Version 0, however, I'd like confidence that the embedded link will work
regardless of the Windows / Office version being used.


[I am presently living with the Security Risk warnings that Outlook loves
to throw and just asking my users to go ahead and run the link.]

--
Clif



  #3  
Old November 24th 09, 06:56 PM posted to microsoft.public.outlook
Diane Poremsky [MVP]
external usenet poster
 
Posts: 12,991
Default Can I embed a clickable link that includes command line arguments?

what happens when you try? Does it work if you replace the spaces with %20?

--
--
Diane Poremsky [MVP - Outlook]
Outlook Tips: http://www.outlook-tips.net/
Outlook & Exchange Solutions Center: http://www.slipstick.com/

Outlook Tips by email:


EMO - a weekly newsletter about Outlook and Exchange:


Poll: What version of Outlook do you use?
http://forums.slipstick.com/showthread.php?t=27072


"Clif McIrvin" wrote in message
...
I 'm familiar with the process of embedding a clickable link to a file
located on a share accessible to the recipient, and do so regularly by
using a UNC formatted path:

\\ServerName\Path\to the \location\of the\file

(Interesting ... the "" "" I wrapped the above line in dissappeared as
soon as I entered the close bracket. In Outlook [plain text] I'm not used
to that happening.)

My question: is it possible to do the same thing to launch a .exe (or
.cmd) with command line arguments?

Something like:

\\UNC Path\Executable /argument1 /argument2=some text string /arg3 etc

that line with extra quotes and spaces:

"" \ \ UNC Path\Executable /argument1 /argument2=some text string /arg3
etc ""

I'm using WinXP Pro SP3 with Office (Outlook) 2003 SP3 and IE8 Update
Version 0, however, I'd like confidence that the embedded link will work
regardless of the Windows / Office version being used.


[I am presently living with the Security Risk warnings that Outlook loves
to throw and just asking my users to go ahead and run the link.]

--
Clif

  #4  
Old November 24th 09, 08:37 PM posted to microsoft.public.outlook
Clif McIrvin
external usenet poster
 
Posts: 15
Default Can I embed a clickable link that includes command line arguments?

I was afraid that might be the answer.

Thank you for responding!

--
Clif

"Sue Mosher [MVP]" wrote in message
...
No, a hyperlink can contain only the file name, not additional
arguments or parameters.

--
Sue Mosher, Outlook MVP
Author of Microsoft Outlook 2007 Programming:
Jumpstart for Power Users and Administrators
http://www.outlookcode.com/article.aspx?id=54


"Clif McIrvin" wrote in message
...
I 'm familiar with the process of embedding a clickable link to a file
located on a share accessible to the recipient, and do so regularly by
using a UNC formatted path:

\\ServerName\Path\to the \location\of the\file

(Interesting ... the "" "" I wrapped the above line in dissappeared
as soon as I entered the close bracket. In Outlook [plain text] I'm
not used to that happening.)

My question: is it possible to do the same thing to launch a .exe (or
.cmd) with command line arguments?

Something like:

\\UNC Path\Executable /argument1 /argument2=some text string /arg3
etc

that line with extra quotes and spaces:

"" \ \ UNC Path\Executable /argument1 /argument2=some text string
/arg3 etc ""

I'm using WinXP Pro SP3 with Office (Outlook) 2003 SP3 and IE8 Update
Version 0, however, I'd like confidence that the embedded link will
work regardless of the Windows / Office version being used.


[I am presently living with the Security Risk warnings that Outlook
loves to throw and just asking my users to go ahead and run the
link.]

--
Clif






--
Clif


  #5  
Old November 24th 09, 09:00 PM posted to microsoft.public.outlook
Clif McIrvin
external usenet poster
 
Posts: 15
Default Can I embed a clickable link that includes command line arguments?

If I wrap the string in with spaces, the hyper link ends at the first
space.

If I replace spaces with %20 and wrap with I get a hyperlink that
includes the entire string; but I get a "Cannot find file" error [repeat
exact text of hyperlink]. Make sure the path of internet address is
correct.

I suspect that Sue's reply answers my question with clear finality.

--
Clif

"Diane Poremsky [MVP]" wrote in message
...
what happens when you try? Does it work if you replace the spaces with
%20?

--
--
Diane Poremsky [MVP - Outlook]
Outlook Tips: http://www.outlook-tips.net/
Outlook & Exchange Solutions Center: http://www.slipstick.com/

Outlook Tips by email:


EMO - a weekly newsletter about Outlook and Exchange:


Poll: What version of Outlook do you use?
http://forums.slipstick.com/showthread.php?t=27072


"Clif McIrvin" wrote in message
...
I 'm familiar with the process of embedding a clickable link to a
file located on a share accessible to the recipient, and do so
regularly by using a UNC formatted path:

\\ServerName\Path\to the \location\of the\file

(Interesting ... the "" "" I wrapped the above line in dissappeared
as soon as I entered the close bracket. In Outlook [plain text] I'm
not used to that happening.)

My question: is it possible to do the same thing to launch a .exe (or
.cmd) with command line arguments?

Something like:

\\UNC Path\Executable /argument1 /argument2=some text string /arg3
etc

that line with extra quotes and spaces:

"" \ \ UNC Path\Executable /argument1 /argument2=some text string
/arg3 etc ""

I'm using WinXP Pro SP3 with Office (Outlook) 2003 SP3 and IE8 Update
Version 0, however, I'd like confidence that the embedded link will
work regardless of the Windows / Office version being used.


[I am presently living with the Security Risk warnings that Outlook
loves to throw and just asking my users to go ahead and run the
link.]

--
Clif




--
Clif


  #6  
Old November 24th 09, 11:14 PM posted to microsoft.public.outlook
Diane Poremsky [MVP]
external usenet poster
 
Posts: 12,991
Default Can I embed a clickable link that includes command line arguments?

Most likely it won't work, but I never tried it myself. I think if it did
work, you'd get security dialogs to respond to.

--
Diane Poremsky [MVP - Outlook]
Outlook Tips: http://www.outlook-tips.net/
Outlook & Exchange Solutions Center: http://www.slipstick.com/

Outlook Tips by email:


EMO - a weekly newsletter about Outlook and Exchange:


Poll: What version of Outlook do you use?
http://forums.slipstick.com/showthread.php?t=27072


"Clif McIrvin" wrote in message
...
If I wrap the string in with spaces, the hyper link ends at the first
space.

If I replace spaces with %20 and wrap with I get a hyperlink that
includes the entire string; but I get a "Cannot find file" error [repeat
exact text of hyperlink]. Make sure the path of internet address is
correct.

I suspect that Sue's reply answers my question with clear finality.

--
Clif

"Diane Poremsky [MVP]" wrote in message
...
what happens when you try? Does it work if you replace the spaces with
%20?

--
--
Diane Poremsky [MVP - Outlook]
Outlook Tips: http://www.outlook-tips.net/
Outlook & Exchange Solutions Center: http://www.slipstick.com/

Outlook Tips by email:


EMO - a weekly newsletter about Outlook and Exchange:


Poll: What version of Outlook do you use?
http://forums.slipstick.com/showthread.php?t=27072


"Clif McIrvin" wrote in message
...
I 'm familiar with the process of embedding a clickable link to a file
located on a share accessible to the recipient, and do so regularly by
using a UNC formatted path:

\\ServerName\Path\to the \location\of the\file

(Interesting ... the "" "" I wrapped the above line in dissappeared as
soon as I entered the close bracket. In Outlook [plain text] I'm not
used to that happening.)

My question: is it possible to do the same thing to launch a .exe (or
.cmd) with command line arguments?

Something like:

\\UNC Path\Executable /argument1 /argument2=some text string /arg3 etc

that line with extra quotes and spaces:

"" \ \ UNC Path\Executable /argument1 /argument2=some text string /arg3
etc ""

I'm using WinXP Pro SP3 with Office (Outlook) 2003 SP3 and IE8 Update
Version 0, however, I'd like confidence that the embedded link will work
regardless of the Windows / Office version being used.


[I am presently living with the Security Risk warnings that Outlook
loves to throw and just asking my users to go ahead and run the link.]

--
Clif




--
Clif

  #7  
Old November 25th 09, 12:19 AM posted to microsoft.public.outlook
Clif McIrvin
external usenet poster
 
Posts: 15
Default Can I embed a clickable link that includes command line arguments?

True. I have attempted to educate my users to live with those security
dialogs, rather than learn how to prevent them ... perhaps that's the
coward's way out, perhaps not.

At any rate, thanks for responding!

--
Clif

"Diane Poremsky [MVP]" wrote in message
...
Most likely it won't work, but I never tried it myself. I think if it
did work, you'd get security dialogs to respond to.

--
Diane Poremsky [MVP - Outlook]
Outlook Tips: http://www.outlook-tips.net/
Outlook & Exchange Solutions Center: http://www.slipstick.com/

Outlook Tips by email:


EMO - a weekly newsletter about Outlook and Exchange:


Poll: What version of Outlook do you use?
http://forums.slipstick.com/showthread.php?t=27072


"Clif McIrvin" wrote in message
...
If I wrap the string in with spaces, the hyper link ends at the
first space.

If I replace spaces with %20 and wrap with I get a hyperlink that
includes the entire string; but I get a "Cannot find file" error
[repeat exact text of hyperlink]. Make sure the path of internet
address is correct.

I suspect that Sue's reply answers my question with clear finality.

--
Clif

"Diane Poremsky [MVP]" wrote in message
...
what happens when you try? Does it work if you replace the spaces
with %20?

--
--
Diane Poremsky [MVP - Outlook]
Outlook Tips: http://www.outlook-tips.net/
Outlook & Exchange Solutions Center: http://www.slipstick.com/

Outlook Tips by email:


EMO - a weekly newsletter about Outlook and Exchange:


Poll: What version of Outlook do you use?
http://forums.slipstick.com/showthread.php?t=27072


"Clif McIrvin" wrote in message
...
I 'm familiar with the process of embedding a clickable link to a
file located on a share accessible to the recipient, and do so
regularly by using a UNC formatted path:

\\ServerName\Path\to the \location\of the\file

(Interesting ... the "" "" I wrapped the above line in
dissappeared as soon as I entered the close bracket. In Outlook
[plain text] I'm not used to that happening.)

My question: is it possible to do the same thing to launch a .exe
(or .cmd) with command line arguments?

Something like:

\\UNC Path\Executable /argument1 /argument2=some text string /arg3
etc

that line with extra quotes and spaces:

"" \ \ UNC Path\Executable /argument1 /argument2=some text string
/arg3 etc ""

I'm using WinXP Pro SP3 with Office (Outlook) 2003 SP3 and IE8
Update Version 0, however, I'd like confidence that the embedded
link will work regardless of the Windows / Office version being
used.


[I am presently living with the Security Risk warnings that Outlook
loves to throw and just asking my users to go ahead and run the
link.]

--
Clif




--
Clif




--
Clif


  #8  
Old November 25th 09, 04:41 AM posted to microsoft.public.outlook
Peter Foldes
external usenet poster
 
Posts: 881
Default Can I embed a clickable link that includes command line arguments?

A short and sweet NO

--
Peter

Please Reply to Newsgroup for the benefit of others
Requests for assistance by email can not and will not be acknowledged.

"Clif McIrvin" wrote in message
...
I 'm familiar with the process of embedding a clickable link to a file located on a
share accessible to the recipient, and do so regularly by using a UNC formatted
path:

\\ServerName\Path\to the \location\of the\file

(Interesting ... the "" "" I wrapped the above line in dissappeared as soon as I
entered the close bracket. In Outlook [plain text] I'm not used to that
happening.)

My question: is it possible to do the same thing to launch a .exe (or .cmd) with
command line arguments?

Something like:

\\UNC Path\Executable /argument1 /argument2=some text string /arg3 etc

that line with extra quotes and spaces:

"" \ \ UNC Path\Executable /argument1 /argument2=some text string /arg3 etc ""

I'm using WinXP Pro SP3 with Office (Outlook) 2003 SP3 and IE8 Update Version 0,
however, I'd like confidence that the embedded link will work regardless of the
Windows / Office version being used.


[I am presently living with the Security Risk warnings that Outlook loves to throw
and just asking my users to go ahead and run the link.]

--
Clif


  #9  
Old November 25th 09, 11:23 AM posted to microsoft.public.outlook
Roady [MVP]
external usenet poster
 
Posts: 2,620
Default Can I embed a clickable link that includes command line arguments?

No, but you can create a simple bat file which holds the command with the
parameters and then link to the bat-file from within the email.

--
Robert Sparnaaij [MVP-Outlook]
Coauthor, Configuring Microsoft Outlook 2003
http://www.howto-outlook.com/
Outlook FAQ, HowTo, Downloads, Add-Ins and more

http://www.msoutlook.info/
Real World Questions, Real World Answers

-----

"Clif McIrvin" wrote in message
...
I 'm familiar with the process of embedding a clickable link to a file
located on a share accessible to the recipient, and do so regularly by
using a UNC formatted path:

\\ServerName\Path\to the \location\of the\file

(Interesting ... the "" "" I wrapped the above line in dissappeared as
soon as I entered the close bracket. In Outlook [plain text] I'm not used
to that happening.)

My question: is it possible to do the same thing to launch a .exe (or
.cmd) with command line arguments?

Something like:

\\UNC Path\Executable /argument1 /argument2=some text string /arg3 etc

that line with extra quotes and spaces:

"" \ \ UNC Path\Executable /argument1 /argument2=some text string /arg3
etc ""

I'm using WinXP Pro SP3 with Office (Outlook) 2003 SP3 and IE8 Update
Version 0, however, I'd like confidence that the embedded link will work
regardless of the Windows / Office version being used.


[I am presently living with the Security Risk warnings that Outlook loves
to throw and just asking my users to go ahead and run the link.]

--
Clif

  #10  
Old November 25th 09, 01:23 PM posted to microsoft.public.outlook
Clif McIrvin
external usenet poster
 
Posts: 15
Default Can I embed a clickable link that includes command line arguments?

"Roady [MVP]" t wrote
in message ...
No, but you can create a simple bat file which holds the command with
the parameters and then link to the bat-file from within the email.


Thank you

--
Clif


 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Command-line switches rjchaney Outlook and VBA 0 March 23rd 09 10:18 PM
command line switch /f CLPO Outlook - Using Forms 0 May 13th 08 11:49 AM
Outlook and command line Xhork Outlook - Installation 4 June 13th 06 01:23 PM
Winzip command line Jonathan Outlook and VBA 8 April 18th 06 07:03 AM
Command line to add contacts cderner Outlook - Using Contacts 2 March 24th 06 10:00 PM


All times are GMT +1. The time now is 11:41 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.