sending a mail using shell script

Please help me in writing the script for sending an attachment through email.(For example my text file name is :abc.txt and it is in directory d:/abc)

Please use the search function of the forum. This has been asked many times. If it is windows it is maybe the wrong forum unless you use Cygwin or something.