How do I put a texture on a path?

How do I put a texture on a path? I have been looking for some way to do this for many years. I came back to X6 quite a long time, and there still seems to be nothing to do this. I have searched Google and various other places. Searched here also. I want to put a road texture on a path, so I can make a curvy road. And many more examples. It seems I come up against this issue regularly.