
MKSCH.BAT : Make Scheduler : converts from MS Scheduler Interchange
file to datebook importable format.

Features:
=========

This bat file finds out only NEW records by comparing older copy of the
schedule with the latest copy.

So, deleted records are NOT processed. Neither are rescheduled records
rescheduled, they will however be re-created.

NOTE:
*****

You need a program called "awk" or "gawk" for this batch file to run. Download this from my website: http://www.geocities.com/SiliconValley/Way/4696/tools.zip


INSTALLATION:
=============

1.	Extract the files into any folder. Preferably, make a folder that you can
find the next time you want to run this app :-)
For example:

	C:\PILOTCONVERT

2.	Now, this is the only yucky step for those of you that could care less
about a batch file. Yes, you need to edit it.

	(a) Open mksch.bat in NOTEPAD : Use right mouse to select "Edit"
	from the pull-down menu.

	(b) Find the following statement in the batch file:

	set datebook=%HOME%\Util\datebook.awk

	This is where the batch file finds the awk script: datebook.awk
	Now, this should be where you extracted the zip file in step 1.
	So for example if you extracted to:

		C:\PILOTCONVERT

	Then you would change the "SET" line to read:

	set datebook=C:\PILOTCONVERT\datebook.awk

	(c) Next locate where all the action is going to happen, the
	"Working Directory" or WD. Look for the following statement:

		SET WD=C:\Users\Narayan\Pers\

	This is where the batch file is going to keep old copies of the schedule,
	make temporary files -- do its dirty work basically.

	Preferably, make this also the same as the extract directory. So,
	in our example, this would read:

		SET WD=C:\PILOTCONVERT\

	Note: the trailing "\" character. Make sure you put it in.

	(d) Save the file.

******************************

THIS COMPLETES THE INSTALLATION. The following steps are 


USAGE:
======


1.	From your Microsoft Scheduler, select:

	"FILE + EXPORT + MS SCHEDULE INTERCHAGE"

	Choose the "All Dates" and "All items" option for export.
	In the pop-up enter the filename of the exported. In our example,
	this should be:

		C:\PILOTCONVERT\export.txt

	Note: the export filename MUST be export.txt, this is so because I
	have coded it so that it reads a file called export.txt. If you
	wish to change it, then you must change it in the batch file also.

	Once you have done this, the scheduler "remembers" the file
	location and the options you chose. Next time you just have to
	click "OK"

2.	Double click on mksch.bat from explorer.

3.	This should:
		Print the Changed Records
		create the file : output.dba (in the same directory)

4.	Run Pilot desktop and import the file "output.dba" . In our
	example here you should find it in:
		C:\PILOTCONVERT\output.dba


AAANNnnnd that should be it!

Read more about how the batch file works inside mksch.bat
