> What is the actual requirement... your description is somewhat vague... > but I am certain a relatively concise function will suffice given the > relative structure of URL's. This is part of a closed captioning system for digital cinema. I get a Resource Presentation List from the cinema server. It's an XML file that includes the URLs for each of the caption files (typically one for each reel and language). These URLs are typically absolute, but may be relative to the URL of the RPL. So, I need a function where I can pass in my new URL, a base URL, and get back an absolute representation of the new URL. So, I think I need to be able to handle relative URLs that include such things as ./file ../file ../../path/path/file /path/file etc. I'm then passing the absolute URL to an http client I wrote that uses the Microchip TCP/IP stack to go get the required files. Thanks for the comments so far! Harold -- FCC Rules Updated Daily at http://www.hallikainen.com - Advertising opportunities available! -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist