On Thu, Aug 17, 2006 at 05:56:33AM +0000 I heard the voice of Rocco Rutte, and lo! it spake thus: > > if (tmp[tmplen-1]=='/') tmp[--templen]=0; Oh, and you probably want while() there, just to be thorough. -- Matthew Fuller (MF4839) | fullermd@xxxxxxxxxxxxxxx Systems/Network Administrator | http://www.over-yonder.net/~fullermd/ On the Internet, nobody can hear you scream.