Hyperlinks to batch files with parameters

Status
Not open for further replies.

jrdnoland

Member
Outlook version
Outlook 2010 32 bit
Email Account
POP3
Is it possible to have an outlook hyperlink that starts a batch file and supplies an argument?

I've been trying this with no luck; the database starts but the parameter is not passed. Any ideas? The 45 would be the parameter I'm trying to supply to the program that the batch file starts (Access Database). I have tried all sorts of different quote locations and combinations.

strMessage = "<HTML><Font Face = " & Chr(34) & "Arial" & Chr(34) & "><Font color = " & Chr(34) & "Black" & Chr(34) & "><Font Size = " & Chr(34) & "3" & Chr(34) & _

"><A href=""file://D:\Q&BB Test Requests\Batch files\J D 1-26-13.bat"" ""45""" & _

"><FONT face=Verdana size=3>Please follow this link to view this project request</FONT></A>" & _

"</Font Size></Font Color></Font></HTML>"

Thanks!
 
To the best of my knowledge, no. Outlook is weird about hyperlinks and things that should work, won't. Can the batch ask for the parameter?

Thanks for the information Diane. I can program a parameter into the batch file when I make it, but it would have been a little easier to just pass the argument.
 
Yeah, but Outlook doesn't like easy. <g>
 
Status
Not open for further replies.
Similar threads
Thread starter Title Forum Replies Date
X Open Hyperlinks in an Outlook Email Message (Help with Diane's solution) Outlook VBA and Custom Forms 3
M Print email and, attachments sent in hyperlinks in the email Outlook VBA and Custom Forms 2
GregS Hyperlinks inactive Using Outlook 4
C Hyperlinks not working in Outlook Using Outlook 2
U Using VBA to creat hyperlinks in an email Outlook VBA and Custom Forms 3
B Insert Hyperlinks for attachments in Userform Outlook VBA and Custom Forms 5
H Outlook Images showing as hyperlinks Using Outlook 3
Jaegel Email Hyperlinks from one source won't open Using Outlook 4
Diane Poremsky Open All Hyperlinks in a Email Message Using Outlook 0
Sarge USMC how do I enable hyperlinks in Outlook 2013 Using Outlook 1
B Right click-drag no longer creates hyperlinks Using Outlook 2
RookieOne Hyperlinks are not working in Outlook 2013 Using Outlook 1
G Outlook mailmerge images and images hyperlinks Using Outlook 1
L Hyperlinks Will Not Display Web Page Using Outlook 9
L Create hyperlinks to bookmarks in Outlook 2003 otf file Using Outlook 1
O Hyperlinks from Outlook 2007 Using Outlook 1
O Macro for creating hyperlinks in Outlook 2007 Using Outlook 3
N Unable to Open Hyperlinks in Outlook 2010 Using Outlook 3
P outlook 2007 - custom buttoms with hyperlinks to oft files Outlook VBA and Custom Forms 1
Q Creating hyperlinks Outlook VBA and Custom Forms 4
C Hyperlinks is becoming non-clickable in RTFBody format Outlook VBA and Custom Forms 5
O Batch update calendar Using Outlook 3
M Batch print without appended trail of repeated e Using Outlook 2
F Send multiple batch tasks to single person Using Outlook 3
Diane Poremsky Batch Import Photos into Outlook Contacts Using Outlook 0
Z Batch Change Folder Views in Outlook 2016 Using Outlook 1
N Triggering batch file from Outlook Using Outlook 1
P Batch adding text to email subject lines in Outlook Using Outlook 24
B Outlook 365 Files Being Created with Logging OFF Using Outlook 0
F Outlook 365 Can I attach 2 files to to post? Using Outlook 1
K Protected View - Files fail, no banner Using Outlook 4
R Advise on using multiple instances of network files based on customers Outlook VBA and Custom Forms 8
H Outlook 365 issue getting details from embedded files, crashing routine Outlook VBA and Custom Forms 0
B Outlook 213 keeps crashing. I just found out there are DMP files. How can I tell Why? Using Outlook 2
Commodore MHT files (from "View in browser") Using Outlook 7
J What are .PST.db and .PST.db.journal Files? Using Outlook 2
G Outlook 2016: Want IMAP Data Files on My D: Drive and Not C: Drive Using Outlook 1
D a general question re how backup programs handle pst files ... I have no problems, just curious Using Outlook 1
R Outlook 2010 How do you export 2 email Accounts' 2010 Inbox Files to new computer (2019)? Using Outlook 0
N pst files are recreating automaticaly and cannot be deleted Using Outlook 5
Y Open and Save Hyperlink Files in multiple emails Outlook VBA and Custom Forms 9
C Export NSF Lotus Notes files in Outlook PST format? Using Outlook 1
abnet Advice required re backing up .ost and .pst files Using Outlook 7
R "Can't store Outlook data files under the AppData folder. Please choose another folder." Using Outlook 6
N Two .pst files on one computer both with contacts? Using Outlook 9
V Carbonite not backing up .ost files Using Outlook 7
DoctorJellybean Import accounts\files Using Outlook 1
P Desktop doesn't index Outlook IMAP files, laptop Outlook does index those same IMAP files Using Outlook 2
O Outlook 2016 has "Outlook 2015" files Using Outlook 2
R How can I access my emails from corrupt offline files of MS Outlook ? Using Outlook 1

Similar threads

Back
Top