Books and toys for geeks and other kids (Amazon "top sellers")
O'Reilly
Linux
Unix shell
C / C++
Perl
PHP
Python
Java
JavaScript
TCP/IP
HTML
XML
.NET
PhotoShop
Dreamweaver
DirectX
Excel
Windows 2000
Windows XP
VBScript
MCSE
Security
Tops
BigRead
Dilbert
Far Side
Low Carb Diet
PDAs/Handhelds
Digital Cameras
Flash Sticks

Lowth.com Home | Protector Home | LinWiz Home | My Bookshelf | Topic Index | Changes | Search

check_mstnef

Part of protector (http://protector.sourceforge.net)
By Chris Lowth, (protector@lowth.com)

Synopsis

   check_mstnef filename

Description

The check_mstnef program reads the file specified and verifies that it is a properly formatted TNEF file. It also extracts any attachment embedded in the file to the working directory.

The first attachment (if any) in the file is written to the file tnef-att-1, the second is written to tnef-att-2 (etc).

The program writes a single line to stdout that indicates the success or failure of it's actions. The first word of the line gives the protector reason for the problem (or success), as follows..

mstnef_io_error An error has occurred while reading the file.
mstnef_bad_format Something wrong with the format of the file has been detected.
N_attachments Indicates a successful inspection, and indicates the number of attachments contained within the file. These are extracted into the current direction, as described above.


  All material on this page, and the "protector" software to which it relates is Copyright (C) 2002 by Lowth.com. "Protector" is free, open source software, licensed according to the terms of the GNU Public License