email - Adding environment variable to a commandline argument in a windows shortcut -


so i'm trying make mailto link on windows desktop. automate opening mail client inserting recipient , subject automatically. can that, i'd include either current date or previous date in beginning of subject line. i've tried:

%windir%\explorer.exe mailto://user@email.com?subject=%date% 'rest of subject'

and every other variant can think of. link either reads %windir% correctly or skips opens fine. however, see literal '%date' in subject.

is possible without using batch files or scripting? work different computers @ different locations, users aren't computer savvy , need things done them. bonus points, there way make file attach dialog pop up? purpose of send security log word document different locations central email address. , hope hear can direct me or give me hints on command line fu!


Comments