Click here to Skip to main content
15,896,557 members
Articles / Programming Languages / Javascript

MySendToMail: A Replacement for Windows SendTo/Email

Rate me:
Please Sign up or sign in to vote.
3.50/5 (2 votes)
31 Jan 2007CPOL2 min read 40.9K   1.6K   23  
This article presents a tool to send embedded/attached images via email by simple right-click => Send To
@REM $Id: COMP_CLEANUP.BAT 5947 2005-08-16 13:58:09Z wpc0756\Emmanuel $
@ECHO OFF
CALL COMP_SET_VARIABLES.BAT
IF ERRORLEVEL 1 GOTO ERROROCCURED

ECHO %PROJECT% Cleanup

IF EXIST Release DEL /Q Release\*.*
IF EXIST ReleaseMinSize DEL /Q ReleaseMinSize\*.*
IF EXIST ReleaseMinDependency DEL /Q ReleaseMinDependency\*.*
IF EXIST Debug DEL /Q Debug\*.*
IF EXIST Release RMDIR Release
IF EXIST Debug RMDIR Debug
IF EXIST ReleaseMinSize RMDIR ReleaseMinSize
IF EXIST ReleaseMinDependency RMDIR ReleaseMinDependency

REM Generated files
FOR %%E IN (.aps .tlb .tlh .tli .clw .ncb .opt .plg _i.c _p.c) DO IF EXIST "%PROJECT%%%E" DEL /Q "%PROJECT%%%E"
IF EXIST dlldata.c DEL dlldata.c

REM Kit files
IF EXIST Kit\%PROJECT%\ FOR %%F IN (Kit\%PROJECT%\*.*) DO DEL /Q "%%F"
IF EXIST Kit\%PROJECT%\ RMDIR Kit\%PROJECT%\
IF EXIST Kit\Dll FOR %%F IN (Kit\Dll\*.*) DO DEL /Q "%%F"
IF EXIST Kit FOR %%F IN (Kit\*.*) DO DEL /Q "%%F"
IF EXIST Kit\Dll RMDIR Kit\Dll\
IF EXIST Kit RMDIR Kit\

REM Force shell to "no error"
SET ERRORLEVEL=0

@ECHO Cleanup: done.
ECHO.

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Web Developer
France France
Fell into computer software at the age of 11, founder of 3 startups, and now manager of an independent software vendor (ISV) labelled proSDK (www.prosdk.com)... And still a freeware writer and technical article author!

Comments and Discussions