home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Elite Hackers Toolkit
/
TheEliteHackersToolkitVolume1_1998.rar
/
HACKERS.BIN
/
appcraks
/
DSI_CGIE.ZIP
/
SAVE.BAT
< prev
next >
Wrap
DOS Batch File
|
1998-02-05
|
470b
|
26 lines
@echo off
type %1 >> ..\demo\complex\file.dat
if errorlevel 1 goto cantsave
if %2==YES goto mail
echo Information is saved.
EXIT
:mail
if %3==dummy goto noaddress
gbmail -file %1 -h smtp.server.com -from you@yourmail.com -to %3 -s "Saved data"
if errorlevel 1 goto cantmail
echo Information is saved.
EXIT
:cantsave
echo Failed to save data.
EXIT
:cantmail
echo Failed to send mail.
EXIT
:noaddress
echo No e-mail address is specified.
EXIT