January 29th, 2008, 10:34 AM
Batch file to execute mailto: link
I would like to be able to run something like
from the Run dialog box in Windows that will create a new email with some information already in it. I would like the 12345 parameter value to be inserted into the email subject. Something like
The problem is that to add spaces in the mailto link I have to use %20 instead of an actual space. I have a feeling that the batch file interprets this as parameter 20, which obviously doesn't exist. Can anyone help me with a work-around?
Also, is the correct batch file command the "start" command? Something like
I have used things like
before. Is there an application that I can/should use for mailto links or should Windows already handle it? ie - Is there any need to do something like this?
start "firefox http://www.google.com"
start firefox "mailto:email@example.com"
Discontent is the first necessity of progress. - Edison