May’s Course of the Month is now available! Experts Exchange’s Premium Members and Team Accounts have access to a complimentary course each month as part of their membership—an extra way to increase training and boost professional development.
Set objArgs = WScript.Arguments Set objSendMail = CreateObject("CDO.Message") Set network = CreateObject("wscript.network") objSendMail.From = "Operating.System@mydomain.com" objSendMail.To = objArgs(0) objSendMail.Subject = network.computername & " : " & objArgs(1) objSendMail.TextBody = objArgs(2) objSendMail.AddAttachment objArgs(3) 'heres where I want to add the filepath objSendMail.Send Set objSendMail = Nothing Set network = Nothing
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
Join the community of 500,000 technology professionals and ask your questions.