Tridion makes all items available using a WebDav URL. This is an environment independent variable that never changes. It is preferred to use this instead of an item URI when programming templates or scripts.
I recently needed a WebDavURL for a Folder and wrote the following snippet in a Component Template and then previewed with a Component in the desired folder:
This WebDavURL can be used anyplace you would normally use a URI.
The WebDavURL is also available on the info tab – however, on that screen you cannot copy it.