<DIV>Hi, James,</DIV>
<DIV>&nbsp;</DIV>
<DIV>when you run MSCompanion the first time, it will create a config file according to your settings in the folder of the EXE file as I expect, which named as msc.cfg. If you can not find such a file, perhaps every time you start it, it will compain about the directories.</DIV>
<DIV>&nbsp;</DIV>
<DIV>As for the settings of directories, please go to the "System Directories" tab of the&nbsp;"System Config" dialog, check "Guess the other directories when one of them is set", and click the button&nbsp;right of the first "Mapserver Utilities Directory", locate to the "shp2img.exe"&nbsp; file, for MS4W could be "C:\ms4w\tools\mapserv\shp2img.exe", then if you have MS4W installed, it should verify the other directories correctly.</DIV>
<DIV>&nbsp;</DIV>
<DIV>if the directories are right, usually it should work. Please tell me if the problem is still there.<BR><BR>Good luck,</DIV>
<DIV>enri.</DIV>
<DIV></DIV><BR><PRE>&gt;Hi,
&gt;
&gt;Thanks of this - I think it could become a very useful tool - but at
&gt;the moment I have some problems.
&gt;
&gt;I have the latest version of MS4W installed in C:\MS4W - despite the
&gt;configuration pointing at this it still said it couldn't find the
&gt;directories at first
&gt;Eventually - after restarting several times it no longer complained
&gt;about the directories (although they were still pointing to the same
&gt;place??)
&gt;
&gt;Now it opens up - but when I create a new map and goto add a layer it
&gt;just tells me I have an Access violation at adresss xxxxx
&gt;
&gt;Best wishes
&gt;James
&gt;
&gt;2009/2/21 enri &lt;enri@163.com&gt;:
&gt;&gt; Hi,
&gt;&gt;
&gt;&gt; Several months ago, I planned to contribute a mapfile editor to you, the
&gt;&gt; Mapserver community. After many overnights' hard work, the first alpha
&gt;&gt; version, a totally WYSWYG mapfile editor - MSCompanion is finally available
&gt;&gt; now. Please find it at http://code.google.com/p/mscompanion/ and check if it
&gt;&gt; can help you. Also I am waiting for your response and suggestion.
&gt;&gt;
&gt;&gt; Enri
&gt;&gt;
&gt;&gt;
&gt;&gt;
&gt;&gt; ________________________________
&gt;&gt; 网易邮箱,中国第一大电子邮件服务商
&gt;&gt; _______________________________________________
&gt;&gt; mapserver-users mailing list
&gt;&gt; mapserver-users@lists.osgeo.org
&gt;&gt; http://lists.osgeo.org/mailman/listinfo/mapserver-users
&gt;&gt;
&gt;&gt;
&gt;
&gt;
&gt;
&gt;-- 
&gt;Dr James Perrins
&gt;exeGesIS SDM Ltd
&gt;Great House Barn
&gt;New Street, Talgarth
&gt;Powys LD3 0AH.
&gt;Direct Line: 01646 686650
&gt;Tel: 01874 711145
&gt;Fax: 01874 711156
&gt;Email: JamesP@esdm.co.uk
&gt;
&gt;This E-mail and any files transmitted with it are private and intended
&gt;solely for the use of the individual or entity to whom they are
&gt;addressed. If you are not the intended recipient, the E-mail and any
&gt;files have been transmitted to you in error and any copying,
&gt;distribution or other use of the information contained in them is
&gt;strictly prohibited.
&gt;
&gt;Nothing in this E-mail message amounts to a contractual or other legal
&gt;commitment on the part of exeGesIS SDM Ltd unless confirmed by a
&gt;signed communication.
&gt;
&gt;exeGesIS SDM Ltd will make every effort to keep its network free of
&gt;viruses. However, the recipient of this message will need to scan this
&gt;message, and any attachments, for viruses, as exeGesIS SDM Ltd can
&gt;take no responsibility for any computer virus that might be
&gt;transferred by this e-mail.
</PRE><br><!-- footer --><br><span title="neteasefooter"/><hr/>
<a href="http://www.yeah.net">网易邮箱,中国第一大电子邮件服务商</a>
</span>