OUR Public

Thursday, May 03, 2007

Outlook Exchange MAPI ID for TaskCompletedDate

I've been searching for MAPI properties for the TaskCompletedDate of a message. My goal is to use them in a DSAV filter. I've narrowed it down to the following possibilities, using the Microsoft Exchange MAPI Editor:

Possibilities Values:
Mapi 0x10900003 'is Task?
Cleared 0
Flagged 2
Checked 1

Mapi 0x10950003 'is Task?
Cleared Null
Flagged 6
Checked Null

Mapi 0x807D0003 'is Task?
Cleared 0
Flagged 2
Checked 3

Mapi 0x807E0040 'Date Flagged?
Cleared Null
Flagged 12:00:00.000 AM 5/3/2007 (Today)
Checked 12:00:00.000 AM 5/3/2007 (Today)

Mapi 0x80800040 'date completed?
Cleared Null
Flagged Null
Checked 04:00:00.000 AM 5/3/2007 (Today why 4am?)

Wednesday, April 04, 2007

Unix Which Command in Dos Batch File

Today, when I was attempting to search my PCs %path% for a dll, I wrote what could be an easy alternative to downloading and installing a knock-off of the Unix Which command.

Simply, save this text to C:\windows\which.bat:

@echo off
for %%d in (%1) do if not "%%~$path:d"=="" echo %%~$path:d


I use the which command to find the location of an executable in the path. This Batch File uses the For command to search the path for the argument you entered (as %1) and displays what paths it finds.